openssl_csr_export(): How to export CSR file with accent DN?

Hello,

I am using the module “openssl”. It is working property. The problem is when I export the CSR and the DN contains accents or any other character different from ASCII.

If I write “Guillén Peña” on the Organization it appears “GuillÃ�©n PeÃ�±a”

The problema I think is that the function openssl_csr_export(), stores the info as ascii-armoured text, ascii has not ‘è’ or ‘ñ’. How can I solve the problem.

Thank you very much.

Sponsor our Newsletter | Privacy Policy | Terms of Service