-
Notifications
You must be signed in to change notification settings - Fork 550
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an option to use certifications generated from localhost.
In the Fedora project, we are running the mysql2 tests on the build environment with a user permission, without root permission and without `sudo`. In this case, we couldn't set up the custom domain "mysql2gem.example.com" required to run SSL tests. This feature to create a set of the certifications from the localhost gives an option to run the SSL tests executed in the environment. How to generate the certificaton files: ``` $ cd spec/ssl/ $ bash gen_certs.sh ``` The files are generated in the `spec/ssl/<host name>`. Added the new files generated from the domain localhost in the `spec/ssl/localhost`. How to use: ``` $ TEST_RUBY_MYSQL2_SSL_CERT_HOST=localhost \ bundle exec rake spec ```
- Loading branch information
Showing
29 changed files
with
310 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,13 @@ | |
|
||
set -eux | ||
|
||
echo " | ||
# Note that we generate a set of certificates for localhost to assist the | ||
# testing environment where the domain "mysql2gem.example.com" can not be set. | ||
for HOST in mysql2gem.example.com localhost; do | ||
mkdir -p "${HOST}" | ||
pushd "${HOST}" | ||
|
||
echo " | ||
[ ca ] | ||
# January 1, 2015 | ||
default_startdate = 2015010360000Z | ||
|
@@ -22,27 +28,30 @@ organizationalUnitName_default = Mysql2Gem | |
emailAddress_default = [email protected] | ||
" | tee ca.cnf cert.cnf | ||
|
||
# The client and server certs must have a different common name than the CA | ||
# to avoid "SSL connection error: error:00000001:lib(0):func(0):reason(1)" | ||
# The client and server certs must have a different common name than the CA | ||
# to avoid "SSL connection error: error:00000001:lib(0):func(0):reason(1)" | ||
|
||
echo " | ||
echo " | ||
commonName_default = ca_mysql2gem | ||
" >> ca.cnf | ||
|
||
echo " | ||
commonName_default = mysql2gem.example.com | ||
echo " | ||
commonName_default = ${HOST} | ||
" >> cert.cnf | ||
|
||
# Generate a set of certificates | ||
openssl genrsa -out ca-key.pem 2048 | ||
openssl req -new -x509 -nodes -days 3600 -key ca-key.pem -out ca-cert.pem -batch -config ca.cnf | ||
openssl req -newkey rsa:2048 -days 3600 -nodes -keyout pkcs8-server-key.pem -out server-req.pem -batch -config cert.cnf | ||
openssl x509 -req -in server-req.pem -days 3600 -CA ca-cert.pem -CAkey ca-key.pem -set_serial 01 -out server-cert.pem | ||
openssl req -newkey rsa:2048 -days 3600 -nodes -keyout pkcs8-client-key.pem -out client-req.pem -batch -config cert.cnf | ||
openssl x509 -req -in client-req.pem -days 3600 -CA ca-cert.pem -CAkey ca-key.pem -set_serial 01 -out client-cert.pem | ||
|
||
# Convert format from PKCS#8 to PKCS#1 | ||
openssl rsa -in pkcs8-server-key.pem -out server-key.pem | ||
openssl rsa -in pkcs8-client-key.pem -out client-key.pem | ||
# Generate a set of certificates | ||
openssl genrsa -out ca-key.pem 2048 | ||
openssl req -new -x509 -nodes -days 3600 -key ca-key.pem -out ca-cert.pem -batch -config ca.cnf | ||
openssl req -newkey rsa:2048 -days 3600 -nodes -keyout pkcs8-server-key.pem -out server-req.pem -batch -config cert.cnf | ||
openssl x509 -req -in server-req.pem -days 3600 -CA ca-cert.pem -CAkey ca-key.pem -set_serial 01 -out server-cert.pem | ||
openssl req -newkey rsa:2048 -days 3600 -nodes -keyout pkcs8-client-key.pem -out client-req.pem -batch -config cert.cnf | ||
openssl x509 -req -in client-req.pem -days 3600 -CA ca-cert.pem -CAkey ca-key.pem -set_serial 01 -out client-cert.pem | ||
|
||
# Convert format from PKCS#8 to PKCS#1 | ||
openssl rsa -in pkcs8-server-key.pem -out server-key.pem | ||
openssl rsa -in pkcs8-client-key.pem -out client-key.pem | ||
|
||
popd | ||
done | ||
|
||
echo "done" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIICtTCCAZ0CFAwnppExyVZKvNYuoDiG+1VfU8qoMA0GCSqGSIb3DQEBCwUAMBcx | ||
FTATBgNVBAMMDGNhX215c3FsMmdlbTAeFw0yMjEyMjMxNTMwNThaFw0zMjEwMzEx | ||
NTMwNThaMBcxFTATBgNVBAMMDGNhX215c3FsMmdlbTCCASIwDQYJKoZIhvcNAQEB | ||
BQADggEPADCCAQoCggEBALjIBExDu99Q4uvMi4ikmhQkhKyK4X/+NALos8iFXFbq | ||
a6B8Yeho2rRzfdxnAXg3RW/3t7a/sU/V/KfPHgUcBmDNp6ZGS0bGK6uFWU963aI7 | ||
vn/B4yiXLM3CeHzRgLisvIySJ2PYGNW9I4Sunwwl9V+juAJ1iZemfKGNcQ10VWw0 | ||
zRD0TV3/6wQrdasEkf7t1Zv+HOg9zrPKM0uRX4F7sXdcoatFpOmvNZGiTfJCeCfP | ||
tMkjyhncO48z3+es0yr1/574CDxB7Stc30ce528k8wZwQFPe4vlLVDzdxVD02Bcj | ||
jhQQkadRWiuRtUXBFFIx5QOvzNrZmD6mWeL1TSSdNlECAwEAATANBgkqhkiG9w0B | ||
AQsFAAOCAQEANHFob2ypSKhMF9vQVWbs7c8oqRSNkMVcRqoc8wbRREKKLkmqoXRm | ||
FcaPVXd2Y3O6Milw4lFLzQbTr7wf7Fhab69LNDaEj42KMxCPqMJyvHyD1AGeBcIc | ||
dCagd3ZA+DrBjBvmHDAwkBBlM/P7FukhL1NoVNP9eqz2/9yOOPwlTLo1YCQwV/gN | ||
WdWWtD4r9sbm2nGNXZ85yZAQHfIdUQZhHU/SFdLy1oSsPQMgPe8N58QvP/UcpdHe | ||
RT4DqAu2MlfHWXFarjSakCLYsbvyeFvb+qg69snO0FVUT5IZQQ/3xbFh3o0bqeyo | ||
LUbvUMmXgVacmlOWmwrcxvJvvFEBzEBkNA== | ||
-----END CERTIFICATE----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
-----BEGIN PRIVATE KEY----- | ||
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC4yARMQ7vfUOLr | ||
zIuIpJoUJISsiuF//jQC6LPIhVxW6mugfGHoaNq0c33cZwF4N0Vv97e2v7FP1fyn | ||
zx4FHAZgzaemRktGxiurhVlPet2iO75/weMolyzNwnh80YC4rLyMkidj2BjVvSOE | ||
rp8MJfVfo7gCdYmXpnyhjXENdFVsNM0Q9E1d/+sEK3WrBJH+7dWb/hzoPc6zyjNL | ||
kV+Be7F3XKGrRaTprzWRok3yQngnz7TJI8oZ3DuPM9/nrNMq9f+e+Ag8Qe0rXN9H | ||
HudvJPMGcEBT3uL5S1Q83cVQ9NgXI44UEJGnUVorkbVFwRRSMeUDr8za2Zg+plni | ||
9U0knTZRAgMBAAECggEABEWxnb7KKvdgi8Gir0HZAyK2A5RBcvdiZffR4k69DBBm | ||
9SKzE8/K0LXD4PLrvIcQnq5cS8giVh11Nj8Ka2VSu2291NEWv/fofhJ69mS5l5zo | ||
gmUt9pwKL+axaPdiEcMCqABgE0Wli1mQZuqvqDT/d5reMAZeLEiv5H9T8BLyv6nt | ||
y5N/EiSsPx67cGDGFBlNATDl1xUApxkQe0EVsBfpku3r/2U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-----END PRIVATE KEY----- |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
|
||
[ ca ] | ||
# January 1, 2015 | ||
default_startdate = 2015010360000Z | ||
|
||
[ req ] | ||
distinguished_name = req_distinguished_name | ||
|
||
[ req_distinguished_name ] | ||
# If this isn't set, the error is error, no objects specified in config file | ||
commonName = Common Name (hostname, IP, or your name) | ||
|
||
countryName_default = US | ||
stateOrProvinceName_default = CA | ||
localityName_default = San Francisco | ||
0.organizationName_default = mysql2_gem | ||
organizationalUnitName_default = Mysql2Gem | ||
emailAddress_default = [email protected] | ||
|
||
|
||
commonName_default = localhost | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIICnzCCAYcCAQEwDQYJKoZIhvcNAQELBQAwFzEVMBMGA1UEAwwMY2FfbXlzcWwy | ||
Z2VtMB4XDTIyMTIyMzE1MzA1OVoXDTMyMTAzMTE1MzA1OVowFDESMBAGA1UEAwwJ | ||
bG9jYWxob3N0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1sStOpst | ||
+FCGz9V7hQmD+rQlzpcg10cfPDOVKQokEu9ZRue8/dflNGDLSy8zmCYfCYDsXZvi | ||
VEiDPgXR3AxhpbF6VBj4fG83wAFtEeO18EPyAsxBpYyCJIVuTxPWSJv7Qvv01TEA | ||
z6W1wo2G5S35B7JcY65WS5JG7Jyhg4cln4PcLEFG76ECBzvUc9kVcRdROiv5OVCN | ||
i1N6glnMjMUsc6mC7labUnQSV/1RWHt5GRvFd0G9nszL8Yxj1GHmXdcUUHGXvb71 | ||
l3rj0vWCNkG+K1e17tNLP86ACWhtLMps8CFzU32+uSUaE4ol/Vs+3FH+74lpdJL8 | ||
oRvdu4b2msKt9wIDAQABMA0GCSqGSIb3DQEBCwUAA4IBAQChXIphVRRhl/RxLS3C | ||
gifApYt+Ou7B+lPR5+Ex929QxCgRp2Ux6GDEVF/Iyvj2RIWN0pj504JN23pEBOEK | ||
e/YNdX7A/fFr7mSrjQ38MUt18I4n1xzWAVS+l9y4QbCdMWvaYRBkm3vtBL7+3fFU | ||
6Rz++EOzkHfGFVIIEOvC7tqkt4lMELMYEhU4dMe7ZVU0cu1TfX7snlZTWTJoJQhl | ||
EIEp3Q0EuphPJlkkn3aOKhJkuPVAkIeMxXluYEc+KFj7HkSaOn0onVy2CAZIixxE | ||
T+G5SI6LVK1dzRTbvHa35vsnyLYK52BPomRC7QMDkNiUgQugqzOI1vnDjek0+2/+ | ||
v5D7 | ||
-----END CERTIFICATE----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
-----BEGIN PRIVATE KEY----- | ||
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDWxK06my34UIbP | ||
1XuFCYP6tCXOlyDXRx88M5UpCiQS71lG57z91+U0YMtLLzOYJh8JgOxdm+JUSIM+ | ||
BdHcDGGlsXpUGPh8bzfAAW0R47XwQ/ICzEGljIIkhW5PE9ZIm/tC+/TVMQDPpbXC | ||
jYblLfkHslxjrlZLkkbsnKGDhyWfg9wsQUbvoQIHO9Rz2RVxF1E6K/k5UI2LU3qC | ||
WcyMxSxzqYLuVptSdBJX/VFYe3kZG8V3Qb2ezMvxjGPUYeZd1xRQcZe9vvWXeuPS | ||
9YI2Qb4rV7Xu00s/zoAJaG0symzwIXNTfb65JRoTiiX9Wz7cUf7viWl0kvyhG927 | ||
hvaawq33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8l | ||
CFMeAJJ03sSMzHF8Kpa3dyd/Cq1rgnj7gtKymi+BAoGBALeLfy0rVFh4J0RKrVLD | ||
fWIJds55g2QV1F6CsbWKjF4GmMgVGsJqppKboxzkzEvULuxZFbQB2loVWfukz/Er | ||
t/98rN0bO9czuYYordq4v7kk01ki53ZLq6u6ZGZBwzCukpUWqYpCAkwdzbxFh6wt | ||
Umy3b5AI3hqHLx4MT84TsE07 | ||
-----END PRIVATE KEY----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
-----BEGIN CERTIFICATE REQUEST----- | ||
MIICWTCCAUECAQAwFDESMBAGA1UEAwwJbG9jYWxob3N0MIIBIjANBgkqhkiG9w0B | ||
AQEFAAOCAQ8AMIIBCgKCAQEA1sStOpst+FCGz9V7hQmD+rQlzpcg10cfPDOVKQok | ||
Eu9ZRue8/dflNGDLSy8zmCYfCYDsXZviVEiDPgXR3AxhpbF6VBj4fG83wAFtEeO1 | ||
8EPyAsxBpYyCJIVuTxPWSJv7Qvv01TEAz6W1wo2G5S35B7JcY65WS5JG7Jyhg4cl | ||
n4PcLEFG76ECBzvUc9kVcRdROiv5OVCNi1N6glnMjMUsc6mC7labUnQSV/1RWHt5 | ||
GRvFd0G9nszL8Yxj1GHmXdcUUHGXvb71l3rj0vWCNkG+K1e17tNLP86ACWhtLMps | ||
8CFzU32+uSUaE4ol/Vs+3FH+74lpdJL8oRvdu4b2msKt9wIDAQABoAAwDQYJKoZI | ||
hvcNAQELBQADggEBACvvwd+Uw6omStKrZchLkgNXmrg1EgTQjspcohsjyjYAxb68 | ||
LXXcTthDXy0PSGgrN4j5aus6IRqS7E+ra+TKC0Vq2O5lRPuq0QYJBWFXjk55ffjU | ||
cMVpvWpwCBvh+fmn0fuhnsKdYRO98WNDpEGEefAaQju05uX9CdR1ZoE64l3JKKib | ||
E68dA/pFxyUfWEep2VGr75hW0fMe+MSnCC/+StpQwOTnYTSlRLF5sTKWSFa4Hyfb | ||
FXcldBAmPu6VbkGzj9mDpyRDOfIKvrzuTUhnzeLatlczJmQb/P8qBLaBZOFwSiiJ | ||
4vBNCsaVpNWQxN1+1rclVxC7rTD9yWYnF/8cPi0= | ||
-----END CERTIFICATE REQUEST----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
-----BEGIN PRIVATE KEY----- | ||
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDWxK06my34UIbP | ||
1XuFCYP6tCXOlyDXRx88M5UpCiQS71lG57z91+U0YMtLLzOYJh8JgOxdm+JUSIM+ | ||
BdHcDGGlsXpUGPh8bzfAAW0R47XwQ/ICzEGljIIkhW5PE9ZIm/tC+/TVMQDPpbXC | ||
jYblLfkHslxjrlZLkkbsnKGDhyWfg9wsQUbvoQIHO9Rz2RVxF1E6K/k5UI2LU3qC | ||
WcyMxSxzqYLuVptSdBJX/VFYe3kZG8V3Qb2ezMvxjGPUYeZd1xRQcZe9vvWXeuPS | ||
9YI2Qb4rV7Xu00s/zoAJaG0symzwIXNTfb65JRoTiiX9Wz7cUf7viWl0kvyhG927 | ||
hvaawq33AgMBAAECggEAQNkVB0+o40QJWML4r3RuleoESmtmnqoae9aFcOVffBoq | ||
RlcdwTYJvrWFXNfNR+Em2PtFI4S4o8NbYYRnV/6jE2FR8wexK/13A3JKyS6NFpWl | ||
gwPCxKZ2+2kQpC70smrqxNCIHkFUId7C0ZJjS1sEyTapX+3Zn6r04Gfw+uJ5UT71 | ||
QRGnTQQfL8n7YMfL3M2Zi+RUs9sMkw+So2YJySBhYualdRWTD7msN7wOcnbTqWlG | ||
dlfV7ErR4+mbLL0Q9BWWnLTyncgkaGP8zgxENRX8KZK7r1X4re8cUDaToWpYFBcI | ||
lG+TICTvkhlQKLkqVmJWmEh23C3glMRx6UI0/22O0QKBgQDmDZ0fOpR/aR0ea5la | ||
nQU7d7yj82IOSVDbAFNhJHu2dDmPOEFfLukPxtAVyIR6UmU2aL0etOpuE4M7ZJ7X | ||
4ywqgktxJpVpdKVRPdGrRHiNSzFLiqB8WiTGE5Ra0TjxPd8qsFaz2kLDZKr3AFH5 | ||
u4tzb2fN91ycRcyvkRsXlm7P5wKBgQDu/bzXGIVepeSO1jatvC1GDX7vBKssw89O | ||
gSShjwfRxJMNJ6yWUuvI2CGr2Nw1Owqs8hePXk5PHCHq+c63c4n18VEkXMTHuPru | ||
eo3O5Kpdot0AmYqXN+Rdoe9EU4JNSvhSYrZXubJNLJE8Z0aJt+UEkWupiwhF0KBb | ||
QsKsfzavcQKBgQCbQ17iv7+PShr79/S1IjpwyzwGjvGD4NlwJQUhD+Vq24Apd/cu | ||
zVNAcZbozL8Ua12h3gidm86IYiT0xdEqtUiOnAdco4S9eptEfGtworKV8cSgTjxI | ||
EPK2uGos7P34WyCuB/tMQSdEBkIYmB+7Y2cXjn3JlYPseHNPnqhhQAcjywKBgGdr | ||
VfSen9g9YZKOEEtOSyktXeiA1LIiaetG51siUffsYNYofP7wEyhunuOGjIRccFo2 | ||
yQs5fBmvyt2sDFBGp0TOkJZzrpPe8HeSgRsuyKqMd6Zyyw51GVWLZcbjfFeGQb8l | ||
CFMeAJJ03sSMzHF8Kpa3dyd/Cq1rgnj7gtKymi+BAoGBALeLfy0rVFh4J0RKrVLD | ||
fWIJds55g2QV1F6CsbWKjF4GmMgVGsJqppKboxzkzEvULuxZFbQB2loVWfukz/Er | ||
t/98rN0bO9czuYYordq4v7kk01ki53ZLq6u6ZGZBwzCukpUWqYpCAkwdzbxFh6wt | ||
Umy3b5AI3hqHLx4MT84TsE07 | ||
-----END PRIVATE KEY----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
-----BEGIN PRIVATE KEY----- | ||
MIIEugIBADANBgkqhkiG9w0BAQEFAASCBKQwggSgAgEAAoIBAQCeFTHDcBmop2bo | ||
vUgS6s+4i7DIY0L8PMvUaoSu9InyGYsEPZLDQxcEppzHrCxKNus+kdXQWxvvflDp | ||
dYTza0PQujvN0MoDx+2Mt2GhGySiRGI+oXlSKT3kJ1a/V+9hkjEzh08JY80Pm00+ | ||
2FDE9KU6c1QKUeSRLQ59o9qpPyKn+s7g5TWCg3ib2uyRKlcoe2g1bCQ8K54wX/dP | ||
KNS9nrfsbUaQhQB2tjDdCOW/9Dd26QQZoigEtiNVrcf8bdt7xNHg1o0DRmVGBDW4 | ||
xdBL0LMIUL1BraPfIOeBGu9ulw31ORxnmx+qazXKtdSpAiDMrNmuE2T0JXLRtYCs | ||
qBfNrywhAgMBAAECgf8szrUcQFoFg+2Xao9TTVszY+Tn57rE5DaiLs8NCCNRjAvr | ||
V8iRsCKGHvOxZQvovUhQo+WG+UwhxhwJEFZu6KiAMUliPRwFllWu3Qu/LoJjvB5c | ||
wkgxEZ+JW90qvzIK5fUsNd4hOziUg+CRP58lNHLg7m+TvUKcI7lHw3nnHw4jrnDz | ||
VDJ9G3dQMVGgGr6iaybg6LRrYRU5Yr7cc6W2k4iBtydgnpKK47VqJCuhDpInfCjn | ||
x8o1w1jWH2JBAyZEzagVRbtl+5bDcP9bZoCMV0PPexNG9nR+HthWVvrfg4aOFY0o | ||
sGFXc7ymU33wnZVZnSjMxEDB2TnFYkRP/4CwIVECgYEAtbdPY5fI1LeoAbfRBDnu | ||
GAN0RaSidUXTCTt3NS/d2SyDScFKSU1ctxW1YykvuWTe88m+ysgW0ERUk38qVHGf | ||
ZOcfasC/tywDKV7VW3xbIjHjx52BtDj0vcMwwQlG38Y43XrC+0Y0G2HW+g5wHJ+A | ||
o2PAvSIareQ1veaOTyUZZ7ECgYEA3rSmRvv0yonlRscY9JjdAYf4BD23dNgjo1aw | ||
7pJ6GjZTs7eNzNxPG6eppVsXk5iROX2+EoVrvzPahdkjO/XOXwsqObEe3p/1/BWA | ||
8Hix+waCh83usytO6bm8FIIADjBgq29p+YGxNBHFcAu/k9fOBoaPU7neus3NPjjt | ||
rKj/l3ECgYAtisCp3DuoHFNOAuyum3oxqIP2hFl2/MX0VWP9/34hVMeer4PXtTzc | ||
YeNw87yTQVWjUdewaM9W6RktUjygp01kc4xrK92gobY1IyBj6lnIyyokODRun6uu | ||
94F7j8CkisBrub2uThz3E+FWEFJGyi7qRDDk9ewr0rspWeQmr8ybMQKBgGroBTnm | ||
ESh48Zr8UDp6dv0ZLDG8/qgUaWcrYlvj7MFQevW2k1dYGpGH9qPuCm9LucsDVY7G | ||
hWaPmcLO7V8HLD3ruiVfpRXxa7/LAs5s4eNCyL4wWPmhPIxuIJ8nmKc3CfDB1vlz | ||
DIGWVlTnDtwFqFzxkzP58bVyvae05EMSDT/BAoGABU2b0zwwDEgkm7gcU+MvCgIe | ||
SgoO4OlgGFsft6l5fR+PtGFqICPxymJMhfQm6re2wXEdgtlY1Damxjmnj07AFSgZ | ||
O70Fpb6Lp+0Ot8LGagWI/ofsFs17Nm/BkYG3PQcA9xI+2VRUA7iikoeON43z/npD | ||
FuJ5VDYav3yy4d7k/yU= | ||
-----END PRIVATE KEY----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIICnzCCAYcCAQEwDQYJKoZIhvcNAQELBQAwFzEVMBMGA1UEAwwMY2FfbXlzcWwy | ||
Z2VtMB4XDTIyMTIyMzE1MzA1OFoXDTMyMTAzMTE1MzA1OFowFDESMBAGA1UEAwwJ | ||
bG9jYWxob3N0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAnhUxw3AZ | ||
qKdm6L1IEurPuIuwyGNC/DzL1GqErvSJ8hmLBD2Sw0MXBKacx6wsSjbrPpHV0Fsb | ||
735Q6XWE82tD0Lo7zdDKA8ftjLdhoRskokRiPqF5Uik95CdWv1fvYZIxM4dPCWPN | ||
D5tNPthQxPSlOnNUClHkkS0OfaPaqT8ip/rO4OU1goN4m9rskSpXKHtoNWwkPCue | ||
MF/3TyjUvZ637G1GkIUAdrYw3Qjlv/Q3dukEGaIoBLYjVa3H/G3be8TR4NaNA0Zl | ||
RgQ1uMXQS9CzCFC9Qa2j3yDngRrvbpcN9TkcZ5sfqms1yrXUqQIgzKzZrhNk9CVy | ||
0bWArKgXza8sIQIDAQABMA0GCSqGSIb3DQEBCwUAA4IBAQAAgF5hCbbz1A3KSJEq | ||
CPObbBymCFZfbg8QyP4h1ArFl535Gvbzauo166kViG9O/DQhXUir9NUXkOZSRhe4 | ||
Hjpu2IqwEjXFxmWcKZVREXvIDkp3S2JI7rewvwuuqvo0NcT0nCsChT0iHwfrrpAq | ||
1o38i3qR0vlfxXyDd6pr9CMbmGlxAdAD4cXQ0hIecuXndVOT4BVm1p5kSLGWaywu | ||
VyuQyERqP92O20zC9/BEWGZ5ToMQ3pmkRl+KBXbCl74RqJd3wnEzgj2bZonTxyuH | ||
Yd4qACsIOgDZ2kBr0kP9Bsvc9uVC6QVwVdHN/H7zFE9UyooO/RQYCev/8fMU86qU | ||
AZ1Y | ||
-----END CERTIFICATE----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
-----BEGIN PRIVATE KEY----- | ||
MIIEugIBADANBgkqhkiG9w0BAQEFAASCBKQwggSgAgEAAoIBAQCeFTHDcBmop2bo | ||
vUgS6s+4i7DIY0L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| ||
rKj/l3ECgYAtisCp3DuoHFNOAuyum3oxqIP2hFl2/MX0VWP9/34hVMeer4PXtTzc | ||
YeNw87yTQVWjUdewaM9W6RktUjygp01kc4xrK92gobY1IyBj6lnIyyokODRun6uu | ||
94F7j8CkisBrub2uThz3E+FWEFJGyi7qRDDk9ewr0rspWeQmr8ybMQKBgGroBTnm | ||
ESh48Zr8UDp6dv0ZLDG8/qgUaWcrYlvj7MFQevW2k1dYGpGH9qPuCm9LucsDVY7G | ||
hWaPmcLO7V8HLD3ruiVfpRXxa7/LAs5s4eNCyL4wWPmhPIxuIJ8nmKc3CfDB1vlz | ||
DIGWVlTnDtwFqFzxkzP58bVyvae05EMSDT/BAoGABU2b0zwwDEgkm7gcU+MvCgIe | ||
SgoO4OlgGFsft6l5fR+PtGFqICPxymJMhfQm6re2wXEdgtlY1Damxjmnj07AFSgZ | ||
O70Fpb6Lp+0Ot8LGagWI/ofsFs17Nm/BkYG3PQcA9xI+2VRUA7iikoeON43z/npD | ||
FuJ5VDYav3yy4d7k/yU= | ||
-----END PRIVATE KEY----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
-----BEGIN CERTIFICATE REQUEST----- | ||
MIICWTCCAUECAQAwFDESMBAGA1UEAwwJbG9jYWxob3N0MIIBIjANBgkqhkiG9w0B | ||
AQEFAAOCAQ8AMIIBCgKCAQEAnhUxw3AZqKdm6L1IEurPuIuwyGNC/DzL1GqErvSJ | ||
8hmLBD2Sw0MXBKacx6wsSjbrPpHV0Fsb735Q6XWE82tD0Lo7zdDKA8ftjLdhoRsk | ||
okRiPqF5Uik95CdWv1fvYZIxM4dPCWPND5tNPthQxPSlOnNUClHkkS0OfaPaqT8i | ||
p/rO4OU1goN4m9rskSpXKHtoNWwkPCueMF/3TyjUvZ637G1GkIUAdrYw3Qjlv/Q3 | ||
dukEGaIoBLYjVa3H/G3be8TR4NaNA0ZlRgQ1uMXQS9CzCFC9Qa2j3yDngRrvbpcN | ||
9TkcZ5sfqms1yrXUqQIgzKzZrhNk9CVy0bWArKgXza8sIQIDAQABoAAwDQYJKoZI | ||
hvcNAQELBQADggEBAIspzxKoEyaiEMpvrtmmzP8j/q2ycCEOTsDKLCWkwDoN+nCp | ||
1t2FjUgoUsFvxelNvJfQBivIS886k8SXeFOv7d/SdoO+duN12qvMYKzZ+qbLz06x | ||
YJQOVC9+At+627Fk8Rhk9ksTqJuliDruR+yqWX/INLqUMrcLq14wa1F1e2dGiJkx | ||
N+Uthpc+9L9o6s5kKzhU3P2jnPPZICr8XcQt1rEy7K1PxHT/TMVFvgH3OVDVMV8F | ||
580erfB8t2iwmzN/NZwMXu5GkcVAOkRAtTB0jdvmzW92hufAyq42ujPcH7CJ/c4n | ||
uJi2METMnqfnIxpUtr6ghNXwAiDEmjKqJwK/jdU= | ||
-----END CERTIFICATE REQUEST----- |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
|
||
[ ca ] | ||
# January 1, 2015 | ||
default_startdate = 2015010360000Z | ||
|
||
[ req ] | ||
distinguished_name = req_distinguished_name | ||
|
||
[ req_distinguished_name ] | ||
# If this isn't set, the error is error, no objects specified in config file | ||
commonName = Common Name (hostname, IP, or your name) | ||
|
||
countryName_default = US | ||
stateOrProvinceName_default = CA | ||
localityName_default = San Francisco | ||
0.organizationName_default = mysql2_gem | ||
organizationalUnitName_default = Mysql2Gem | ||
emailAddress_default = [email protected] | ||
|
||
|
||
commonName_default = ca_mysql2gem | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.