Failed to create Certificate:
ASN.1 structure error: PrintableString contains invalid character
And the only way to make it stop it to get rid of all non-Ascii characters within the pkix.Name.
Why does it complain? Does it not support UTF-8?
Is there a way around this?
If there is not I could sanitize users input getting rid of accented vowels and non ascii symbols like Torrejon instead of Torrejón or Espana instead os España, but I only know how to do it properly only for Spanish, and it a like bit undesired to have to use unproper spelling...
It seems that UTF8 needs to get there escaped, but I thought that the go packages were going to do that for me. After all, go is supposed to be UTF8 all the way.
do I have to do it? Is there a function already to escape UTF8 for asn.1?
Jose