How do I create SSL certificates, that can be for TCPPERM with OpenSSL command line tool?

I would like to set up a tool chain, where I use the OpenSSL command line to generate certificates (public and private), that can be used with the TCPPERM application.

The certificates i generate using:
openssl genrsa -out privcert.pem 2048
openssl rsa -in privcert.pem -privout -out pubcert.pem

Yield this in the log:
Certificate Code Error
Lib: SSL routines
Func: SSL_CTX_use_certificate_file
Reason: BUF lib

The cert/key must be named as follows when placed on the router flash:
Private key = privxxx.pem
Public cert = certxxxx.pem
CA cert = caxxxx.pem
where xxxx can be 0-4 alpha numeric characters.

Regards,
Ben

1 Like