From an ldap directory I am getting a binary certificate representation. I would like to write a pem file from it:
What I am currently doing (it works) is: