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, 1814🔥, 0💬
Popular Posts:
What can I use OpenSSL "req" command for? What are options supported by the "req" command? OpenSSL "...
Certificate summary - Owner: DigiCert Secure Server CA, DigiCert Inc, US Issuer: DigiCert Global Roo...
Certificate summary - Owner: *.paytm.com, One97 Communications Ltd., L=New Delhi, ST=Delhi, IN Issue...
Certificate summary - Owner: *.a.ssl.fastly.net, "Fastly, Inc.", L=San Francisco, ST=California, US ...
Certificate summary - Owner: *.terra.com.br, PremiumSSL Wildcard, Hosted by Comodo Brasil Tecnologia...