NetXDuo Secure X509 TLS Certificate not parsing
Hi,
Thank you for your reply, I have been looking through all the openssl documentation and had found some references to padding but none of them seem to be applicable to the commands I’m using to generate a certificate. The process I’m using is:
#Generate key (-traditional forces PKCS#1, no encryption, I have also tried with -des3 and without the -traditional with same results)
openssl genrsa -traditional -out mqtt.key 2048
#Create CSR
openssl req -key mqtt.key -new -out mqtt.csr
# Create self-signed certificate
openssl x509 -signkey mqtt.key -in mqtt.csr -req -days 365 -out mqtt.crt
#Output in DER format
openssl x509 -in mqtt.crt -outform der -out mqtt.der
It is of course possible that I’m creating entirely the wrong type of certificate for the application.
Read more here: Source link
