1<DRAFT!> 2 HOWTO keys 3 41. Introduction 5 6Keys are the basis of public key algorithms and PKI. Keys usually 7come in pairs, with one half being the public key and the other half 8being the private key. With OpenSSL, the private key contains the --- 26 unchanged lines hidden (view full) --- 35 36The number 2048 is the size of the key, in bits. Today, 2048 or 37higher is recommended for RSA keys, as fewer amount of bits is 38consider insecure or to be insecure pretty soon. 39 40 413. To generate a DSA key 42 |
43A DSA key can be used for signing only. This is important to keep 44in mind to know what kind of purposes a certificate request with a 45DSA key can really be used for. |
46 47Generating a key for the DSA algorithm is a two-step process. First, 48you have to generate parameters from which to generate the key: 49 50 openssl dsaparam -out dsaparam.pem 2048 51 52The number 2048 is the size of the key, in bits. Today, 2048 or 53higher is recommended for DSA keys, as fewer amount of bits is --- 20 unchanged lines hidden --- |