Use ProSBC (or Linux) shell to manipulate certificates
You can use ProSBC's shell (or most Linux hosts' shell as long as OpenSSL is installed) to create and view private keys, certificates and CSRs (certificate signing requests).
Create new private key
openssl genrsa -out MY_PRIVATE_KEY.pem 2048
You will be prompted to enter a pass phrase:
Generating RSA private key, 2048 bit long modulus
.....................+++
..............................+++
e is 65537 (0x10001)
Enter pass phrase for MY_PRIVATE_KEY.pem:
Verifying - Enter pass phrase for MY_PRIVATE_KEY.pem:
Resulting file:
Create a self-signed certificate from a private key
You will be prompted to answer questions regarding the certificate:
Resulting files:
Create a CSR (certificate signing request) from a private key
You will be prompted to answer questions regarding the certificate:
Resulting files:
View the contents of the certificate
Resulting output:
View the signing request of a certificate (CSR)
Resulting output:
Check that a certificate and a CSR match the private key
Generating a 2048 bit RSA private key
.........................................................+++
........................................................................................................................................................................................+++
writing new private key to 'MY_PRIVATE_KEY.pem'
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [XX]:CA
State or Province Name (full name) []:Quebec
Locality Name (eg, city) [Default City]:Boucherville
Organization Name (eg, company) [Default Company Ltd]:TelcoBridges
Organizational Unit Name (eg, section) []:
Common Name (eg, your name or your server's hostname) []:MySBC
Email Address []:example@telcobridges.com
-rw-r--r-- 1 root root 1415 Mar 14 09:15 MY_CERTIFICATE.crt
-rw-r--r-- 1 root root 1751 Mar 14 09:14 MY_PRIVATE_KEY.pem
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [XX]:CA
State or Province Name (full name) []:Quebec
Locality Name (eg, city) [Default City]:Boucherville
Organization Name (eg, company) [Default Company Ltd]:TelcoBridges
Organizational Unit Name (eg, section) []:
Common Name (eg, your name or your server's hostname) []:MySBC
Email Address []:example@telcobridges.com
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:my_password
An optional company name []:TelcoBridges
-rw-r--r-- 1 root root 1127 Mar 14 09:20 MY_CSR.csr