Hi,
I use the following command to create a certificate request.
openssl req -new -nodes -out new-req.pem -keyout new-key.pem
But this command demands country, state, organization name, email etc.
information from command line like the following example. I don' t want to
enter country, state, organization name etc from command line like this
example. I want to add this information (country, name, email etc) with some
parameters like "-country TR -state KOCAELI ..." to openssl command. How
can I do this?
# openssl req -new -nodes -out new-req.pem -keyout new-key.pem
Generating a 1024 bit RSA private key
..................................++++++
.........................++++++
writing new private key to 'new-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) [AU]:TR
State or Province Name (full name) [Some-State]:KOCAELI
Locality Name (eg, city) []:GEBZE
Organization Name (eg, company) [Internet Widgits Pty Ltd]:TUBITAK-UEKEAE
Organizational Unit Name (eg, section) []:OpenTC
Common Name (eg, YOUR name) []:Kadir
Email Address []:kadir@xxxxxxxxxxxxxxx
Please enter the following 'extra' attributes
to be sent with your certificate request
A challenge password []:test
An optional company name []:uekae
Sincerelly,
Kadir.
Shape Yahoo! in your own image. Join our Network Research Panel today!