pkiutil -newreq -keysize 2048 alias-name or pkiutil -keysize 2048 -pkcs5 -newreq alias-name |
-----BEGIN RSA PRIVATE KEY----- Proc-Type: 4,ENCRYPTED DEK-Info: DES-EDE3-CBC,E83B4019057F55E9 iIPs59nQn4RSd7ppch9/vNE7PfRSHLoQFmaAjaF0DxjV9oucznUjJq2gphAB2E2H ... (snip) ... y5IT1MZPgN3LNkVSsLPWKo08uFZQdfu0JTKcn7NPyRc= -----END RSA PRIVATE KEY----- |
pkiutil -keysize 2048 -pkcs8 -newreq alias-name |
-----BEGIN ENCRYPTED PRIVATE KEY----- MIIBpjBABgkqhkiG9w0BBQ0wMzAbBgkqhkiG9w0BBQwwDgQIU9Y9p2EfWucCAggA ... (snip) ... IjsZNp6zmlqf/RXnETsJjGd0TXRWaEdu+XOOyVyPskX2177X9DUJoD31 -----END ENCRYPTED PRIVATE KEY----- |
pkiutil -keysize 2048 -keypass password -pkcs8 -newreq alias-name or pkiutil -keysize 2048 -keypass password -newreq alias-name or pkiutil -keysize 2048 -keypass password -pkcs5 -newreq alias-name |