| 1 |
The following certificate files are used by the SSL unit tests (ssl.py): |
| 2 |
|
| 3 |
ca-certificate.pem - contains the public certificate identifying a "trusted" Certificate |
| 4 |
Authority. This certificate is used to sign the certificates that identify the SSL |
| 5 |
servers and clients run by the tests. |
| 6 |
|
| 7 |
client-certificate.pem - the public certificate used to identify the client. Signed by |
| 8 |
the CA. |
| 9 |
|
| 10 |
client-private-key.pem - encrypted key used to create client-certificate.pem. Password is |
| 11 |
"client-password" |
| 12 |
|
| 13 |
server-certificate.pem - the public certificate used to identify the server. Signed by |
| 14 |
the CA. The CommonName is "A1.Good.Server.domain.com", and is checked by some unit tests. |
| 15 |
|
| 16 |
server-private-key.pem - encrypted key used to create server-certificate.pem. Password is |
| 17 |
"server-password" |
| 18 |
|
| 19 |
bad-server-certificate.pem, bad-server-private-key.pem - a certificate/key that is not trusted by the client, for negative test. |
| 20 |
|
| 21 |
server-wc-certificate.pem and server-wc-private-key.pem - similar to |
| 22 |
server-certificate.pem and server-private-key.pem, but contains Subject Alternate Name |
| 23 |
entries, and a wildcard CommonName. Used for certificate name checking tests. |
| 24 |
|
| 25 |
These certificates have been created using the OpenSSL tool. |
| 26 |
|
| 27 |
The mkcerts.sh script in this directory can be used to create these certificates (requires keytool from Java 1.7, and openssl): |