Collections:
Other Resources:
OpenSSL "genpkey -paramfile" - Generate DSA Key
How to generate a new DSA private key using OpenSSL "genpkey" command?
✍: FYIcenter.com
If you need a new DSA private key in order to create a new certificate,
you can use the OpenSSL "genpkey" command as shown below:
C:\Users\fyicenter>\local\openssl\openssl.exe OpenSSL> genpkey -paramfile my_dsa.prm -out my_dsa.key OpenSSL> exit C:\Users\fyicenter>type my_dsa.key -----BEGIN PRIVATE KEY----- MIIBTAIBADCCASwGByqGSM44BAEwggEfAoGBAJ4vZpJ9H6iJR/UU1gJbHTR6in8o a4vX1Vdvj/V53Q1U2lS0VdkAZyZQiWfO9QTO5oM0Y4S7DtTX3UIiuSuKVWMD55pi WuTgDemf4ZsVAdxcQ6RKCYSwiO0o3O+7RwX2aEzb/KaMqphoHtwRPWhxp5Mbz9kz DD9T+xQAzsfsuhGVAhUA1kA8zoR9/NuIDs07OdP76UX3UnkCgYEAmB2kVCBqooud n/zU0dFeXY8RD2OoobKbvdnFeyl8qG3BskLp+1qzHEVT9zI8+6DmJnSxcxyjuT+/ ZO1JnUSX9GNPfWwA4khntera6cLe8qm3fJiWRdsen5XZFFYqvj8A6e5x6qdVCehL Gc1ZLn0ewTtLDYYpTM/QqFYI7XxKDaEEFwIVAMo3dtgvrFKyqGK1AOdZi0XW9y7f -----END PRIVATE KEY-----
Note about this test:
⇒ OpenSSL "pkey -text" - Print DSA Key in Text
⇐ OpenSSL "pkeyparam -text" - Print DSA Parameters in Text
2017-12-21, ∼2405🔥, 0💬
Popular Posts:
Certificate summary - Owner: dynamic.12306.cn, ????????, Sinorail Certification Authority, CN Issuer...
How to generate a new RSA key pair with a shorter key size using OpenSSL "genpkey" command? If you n...
Why I am getting the "error while loading serial number" error when running OpenSSL "ca" command? If...
How to specify x.509 v5 extensions options in the configuration file for generating self-signed cert...
Why I am getting the "wrong signature length" error when running the OpenSSL "req -verify" command? ...