Loading...
 

TLS Create a Server Private Key

Create a Server private key

$openssl genrsa -out private/virtualhost2.pk 1024
Generating RSA private key, 1024 bit long modulus
.......................++++++
.........++++++
e is 65537 (0x10001)

Check it out


$openssl rsa -in private/virtualhost2.pk -pubout
writing RSA key

-----BEGIN PUBLIC KEY-----
SoMePRIVateKeyDataOutput~~%%MIGfMAi34r8fjinsklj23-90;*%^&awf232p;$£NADCBiQKBgQDJ+Wase5OWW1404L/93TechFX+
5Dvnrxrwulhcewqhf34js23ru1398bpqlk/aqwIDAQAB
-----END PUBLIC KEY-----