Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

openssl new certificate one line

openssl req -new -newkey rsa:4096 -days 3650 -nodes -x509 -subj "/C=<Country Code>/ST=<State>/L=<City>/O=<Organization>/CN=<Common Name>" -keyout certificate.key -out certificate.crt
Source by www.commandlinefu.com #
 
PREVIOUS NEXT
Tagged: #openssl #certificate #line
ADD COMMENT
Topic
Name
4+1 =