# How to regenerate the following certificates
$ openssl req -new -newkey rsa:1024 -nodes -out ca.csr -keyout ca.key -subj '/OU=CA'
$ openssl x509 -trustout -signkey ca.key -days 36500 -req -in ca.csr -out ca.pem
$ openssl req -new -newkey rsa:1024 -nodes -keyout inter.key -out inter.csr -subj '/OU=Intermediate'
$ openssl x509 -req -days 36500 -in inter.csr -CA ca.pem -CAkey ca.key -set_serial 01 -out inter.pem
$ openssl req -new -newkey rsa:1024 -nodes -keyout server.key -out server.csr -subj '/CN=localhost'
$ openssl x509 -req -days 36500 -in server.csr -CA inter.pem -CAkey inter.key -set_serial 02 -out server.pem
$ cat server.pem intermediate.pem server.key

-----BEGIN CERTIFICATE-----
MIIBnDCCAQUCAQIwDQYJKoZIhvcNAQELBQAwFzEVMBMGA1UECwwMSW50ZXJtZWRp
YXRlMCAXDTE1MTAyMDA5MTI0M1oYDzIxMTUwOTI2MDkxMjQzWjAUMRIwEAYDVQQD
DAlsb2NhbGhvc3QwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAKmd9yN41PjZ
9EnULLm2gaaiBZaV3W61XjUe/etEOU8m5ullhNiv0DGZNbt0ZgfL9aW8dbekTV9Q
e8+YaPPzFKlQnaqt7lt4IVu+xA6qzEmRC6mP5odAqmoElJich3GrF6x2x3jWrCbX
zijIlOKDAAgLedLixML7aVPOCpY1Bmk7AgMBAAEwDQYJKoZIhvcNAQELBQADgYEA
DmvvCUi/xEgvsRWoDt4dJmhga+qgZ7649a2EdYIavNqphpmLWncCrvi9AstpWnvY
BJSivqYCUwLrgteRDxPf7XkRT17OafgW0Xyss+rng+PzSGVR77swAf7v9rzrfWKC
JWma5uFMIDqJCReG1Ox93N2juZdI6auqbYnUYi/4YgA=
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIIBlDCB/gIBATANBgkqhkiG9w0BAQsFADANMQswCQYDVQQLDAJDQTAgFw0xNTEw
MjAwOTA4MDNaGA8yMTE1MDkyNjA5MDgwM1owFzEVMBMG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