Hi,

It is not a basic question!

Since I run bash script to generate Key, Req, Cert
I would like to know how to dynamically change Extension Section of
openssl.cnf file.

for instance:

Suppose you want to change for each server certificate generated the
"subjectAltName"
extension with whatever parameters, for instance:

subjectAltName  = DNS:www.mydomain.com,IP:123.134.145.156

or

subjectAltName  = DNS:www.mydomain.com

or

subjectAltName  = IP:123.134.145.156

How to write the openssl.cnf?

If you have any idea, they are welcome!

Regards


-- 
# .- ...- . .-. .-. --- . ... .- .-.-.- .- -.-- ... .... .-
# Averroes A. Aysha
# Think Linux, Think Slackware!
# e-fingerprint = 63:B0:7D:A1:23:BC:25:96:AE:B7:76:36:F3:07:1F:88
# .- ...- . .-. .-. --- . ... .- .-.-.- .- -.-- ... .... .-

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to