Related questions
How to create a self-signed certificate with OpenSSL
I'm adding HTTPS support to an embedded Linux device. I have tried to generate a self-signed certificate with these steps:
openssl req -new > cert.csr
openssl rsa -in privkey.pem -out key.pem
openssl x509 -in cert.csr -out …
Using openssl to get the certificate from a server
I am trying to get the certificate of a remote server, which I can then use to add to my keystore and use within my java application.
A senior dev (who is on holidays :( ) informed me I can run this:
…