hyper_ch
January 7th, 2008, 12:43 PM
Hiho
I just wonder how I can autogenerate a SSL certificate?
Normally you're asked for this input:
Country Name (2 letter code) []:
State or Province Name (full name) [Some-State]:
Locality Name (eg, city) []:
Organization Name (eg, company) []
Organizational Unit Name (eg, section) []:
Common Name (eg, YOUR name) []:
Email Address []:
How can I make with bash that I assign those values to variables in the script and then it will auto-generate the certificate with those values without being required to give manual input on each of those questions?
I just wonder how I can autogenerate a SSL certificate?
Normally you're asked for this input:
Country Name (2 letter code) []:
State or Province Name (full name) [Some-State]:
Locality Name (eg, city) []:
Organization Name (eg, company) []
Organizational Unit Name (eg, section) []:
Common Name (eg, YOUR name) []:
Email Address []:
How can I make with bash that I assign those values to variables in the script and then it will auto-generate the certificate with those values without being required to give manual input on each of those questions?