Monthly Archives: April 2015

OpenSSL and Keytool basic commands

Create a self-signed certificate: openssl  req  -x509  -nodes  -newkey rsa:2048  -days 365  -keyout mykey.key \ -out mycert.crt  -subj “/C=US/ST=Chicago/L=Town/O=Abc Inc/CN=example.com“ Generate a CSR and private key: openssl req -new -nodes -newkey rsa:2048  -keyout mykey.key \ -out mycert.csr –subj “/C=OM/ST=Muscat/L=Muscat/O=Abc/OU=IT/CN=abc.com“ Generate a self-signed … Continue reading

Posted in LFCE, LFCS, Linux, Security