commit | 8b4c173b464edff27c08956555e8de19e5d8b8fd | [log] [tgz] |
---|---|---|
author | Joe Gregorio <jcgregorio@google.com> | Tue Dec 06 11:28:29 2011 -0500 |
committer | Joe Gregorio <jcgregorio@google.com> | Tue Dec 06 11:28:29 2011 -0500 |
tree | d0269174137cc557a329b77eb54cc83305849a41 | |
parent | 66f5752dacf3820c6f388e57c0004639c52bfc00 [diff] [blame] |
[mq]: id_token2
diff --git a/tests/data/create-private-keys.sh b/tests/data/create-private-keys.sh new file mode 100644 index 0000000..b21cbdb --- /dev/null +++ b/tests/data/create-private-keys.sh
@@ -0,0 +1,9 @@ +#!/bin/bash + +openssl req -new -newkey rsa:2048 -days 3650 -nodes -x509 \ + -keyout privatekey.pem -out publickey.pem \ + -subj "/CN=unit-tests" + +openssl pkcs12 -export -out privatekey.p12 \ + -inkey privatekey.pem -in publickey.pem \ + -name "key" -passout pass:notasecret