1
0
forked from bip/bip

bipgenconfig: generate 4096 bit rsa keys

This commit is contained in:
Arnaud Cornet 2008-10-24 00:08:47 +02:00
parent 83b19b7c5a
commit f6582a54b2

View File

@ -574,7 +574,7 @@ authorityKeyIdentifier=keyid:always";
# print "Existing $certout found, renamed to $certout.$ts\n";
# }
`openssl req -new -x509 -days 365 -nodes -config "$tmpcrt" -out "$certout" -keyout "$certout"`;
`openssl req -new -newkey rsa:4096 -x509 -days 365 -nodes -config "$tmpcrt" -out "$certout" -keyout "$certout"`;
# TODO check command status
`openssl x509 -subject -dates -fingerprint -noout -in "$certout"`;
# TODO check command status