How do I create a pem file that I can use in a console app to authenticate to an SFTP service?

I’m writing a little program that downloads some basic data, consolidates it into a CSV and drop it to an SFTP server. I’m told that I need to generate a pem file. My search online suggests that pem is a private/public key pairing and that… Continue reading How do I create a pem file that I can use in a console app to authenticate to an SFTP service?

When I run this command in OpenSSL, it also creates a file called `serial_number.pem`

Note that 00 in 00.pem is the serial number of the certificate.
When I run this command, it also creates a file called 00.pem in the new certs directory.
The 00.pem has the same content as enduser-example.com.crt.
Here is the command:
open… Continue reading When I run this command in OpenSSL, it also creates a file called `serial_number.pem`

How to add subject alternative name when converting PEM certificate to DER format?

Is it possible to add a subject alternative name when converting PEM certificate to DER format.

openssl x509 -outform der -in Certificate.pem -out Certificate.der -extensions SAN -subject-alternative-name ‘alternative name’

If possible,… Continue reading How to add subject alternative name when converting PEM certificate to DER format?