I have been using public keys on my vpn (ipsec/isakmp) setup on OpenBSD 5.1 without any problems.
When trying to setup an PKI with OpenSSL, the following happened.
When i try to create a CSR for my peer with the following command, i get the following error:
Code:
sudo openssl req -new -key /etc/isakmpd/private/local.key -out /etc/isakmpd/private/10.0.0.15.csr
Code:
problems making Certificate Request
8619025296:error:0D07A07C:asn1 encoding routines:ASN1_mbstring_ncopy:illegal characters:/storage/src/lib/libssl/crypto/../src/crypto/asn1/a_mbstr.c:162:
Been reading manual pages and spending time on Google. If anyone has a clue on this, i'll be pleased if you wish to help.