Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / orbsvcs / tests / Security / BiDirectional / ssl / make-client-keys
blob68c43cd8802d2c26e2824c7a4d381477f14e4d21
1 #!/bin/bash -x
3 openssl req -new -x509 -days 9999 -nodes -newkey rsa:2048 \
4 -out server-cert.pem -keyout server-key.pem \
5 -subj "/C=US/ST=MO/L=St. Louis/O=OCI/CN=server"
7 cat server-cert.pem >>server-key.pem
8 cat server-cert.pem >ca.pem
10 openssl req -new -x509 -days 9999 -nodes -newkey rsa:2048 \
11 -out client-cert.pem -keyout client-key.pem \
12 -subj "/C=US/ST=MO/L=St. Louis/O=OCI/CN=client"
14 cat client-cert.pem >>client-key.pem
15 cat client-cert.pem >>ca.pem