Skip to content

Commit

Permalink
ci: Fix cert for redis and add docs for key maintenance (#4718)
Browse files Browse the repository at this point in the history
* ci: Fix cert for redis and add docs for key maintenance

Signed-off-by: Xuanwo <[email protected]>

* Don't include redis.csr

Signed-off-by: Xuanwo <[email protected]>

* Fix cert

Signed-off-by: Xuanwo <[email protected]>

---------

Signed-off-by: Xuanwo <[email protected]>
  • Loading branch information
Xuanwo authored Jun 10, 2024
1 parent aef75ed commit babbfe2
Show file tree
Hide file tree
Showing 8 changed files with 151 additions and 99 deletions.
1 change: 1 addition & 0 deletions fixtures/redis/ssl/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
redis.csr
36 changes: 36 additions & 0 deletions fixtures/redis/ssl/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Key Maintenance

## Check Cert

```shell
openssl x509 -in ca.crt -text -noout
```

## Generate a new CA Cert

```shell
# Generate a new CA key
openssl genrsa -out ca.key 2048

# Generate a new CA cert which valid for 100 years
openssl req -x509 -new -nodes -key ca.key -sha256 -days 36500 -out ca.crt -subj "/C=US/O=Apache OpenDAL Service Test Redis/CN=redis.test.service.opendal.apache.org"

# Check the cert
openssl x509 -in ca.crt -text -noout
```

## Generate a new Peer Cert

```shell
# Generate a new perr key
openssl genrsa -out redis.key 2048

# Generate a new CSR
openssl req -new -key redis.key -out redis.csr -config req.conf

# Use CA Cert to sign the CSR
openssl x509 -req -in redis.csr -CA ca.crt -CAkey ca.key -CAcreateserial -out redis.crt -days 36500 -sha256 -extfile req.conf -extensions v3_ca

# Check the cert
openssl x509 -in redis.crt -text -noout
```
39 changes: 20 additions & 19 deletions fixtures/redis/ssl/ca.crt
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
-----BEGIN CERTIFICATE-----
MIIDiTCCAnGgAwIBAgIUGJWxrMGe9qRZzAfd5w4XIT3lkcEwDQYJKoZIhvcNAQEL
BQAwVDEVMBMGA1UEAwwMVGVzdCBSb290IENBMQswCQYDVQQGEwJVUz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Sp6I
CeKFcNSCoKd6AXVppayPCO2SfERPFdrJ9JsU2VF/bf6mGiCWEk3XmyVGn9Z4M/Jo
0V75ahehJ/tED9HJIC6qLucQjEtqz0BAjHeIZzmeTJSqNFih8WDVMxR4qpuKN1Z3
M5elhzvp1cozHWljbdOlAi3aH0PmZeQ3kbpaq3jEsFOHNT7ZTDV8R2e8h9CP8Rha
C840HXhP5L0JOGbul3GkXYN8Ek5ExGCQNOs6VXp5OBgTOSSOJ1uE/n0=
-----END CERTIFICATE-----
52 changes: 26 additions & 26 deletions fixtures/redis/ssl/ca.key
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
-----BEGIN PRIVATE KEY-----
MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCtUF6mcDgSyH5t
78XnJusvQxsUfv2XydHtvLcIpwkCkIuIj7nF2WH064Gv12x+y42Wmb+5z6JTgHRM
RqcyQM8q4PQFrKvxPX8R2Limd7VLBJzYjR7Ma7JIrDohLnfywxUP19P5SzaGiro+
ZK3t3xCnmtHcYoM+An0mQdKyVV7ytzAfg1PqkfDme19I28fH8cOPtF+RU8/LEHnt
e519O1bawx7xNdPsyykMrFij02o1VUeum2K9Wya8xHDixokveYDWswg5G4Tsy1Qf
gqFgxAXahIroPIwQvZOGkWVsmPXRXHtHNFG91ntJivv2HBFniUTqA0UbVdj09T+h
+JLc19G9AgMBAAECggEABLUq/6y1q+DxT41/RoJFSiaG/PK0HbmNhRPRXvVL5oYZ
nC8sldC2pfSjCa05f7o0vDNXRLX8oUsFyFqfnlr/UEQFrNpzXd1Umciqv1l/aFcV
kZZHu2LDgtDW0AxB6tYHY5jyY5JPnAOhqncz+EL3t1hvvI5FJVvjnV9AA2MT7gDQ
u/W5S9DcCneoPj/YnJmlZvXIJZrseg5Jwyk6CSuXW+VxGYnbI+4SxLaVefcU5tBx
hbNtLkfEQyQPSAsiGUGJnDkn3a5cf6D+BM14KxEKYtweuhUP+ctzIm44T+ts38xm
Z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m7ng6PIcemp1ZPsEK+Qrmsnpu
PjGicJ9cVm2MJmhJqxeSk6r+PXHF1VxiYzv6MoAm82MzweZq7IPXfYOqsQKBgGPY
uqbvkJciF1qzbXN9dMRT0Ybu3KmuPN3Cfwnggs4Sps8+PWEUxfHrZO6zQjSnabMp
1wqqR1LB5869Zu0fnqnfj+p61kf9BZcQZMRqw667Mxi2z4+tFjTk1UD+4CySZgfS
AoJMmkn1iKQGzJYiqQj8V7/hkL9d/r4D6uSM4OFPAoGAA2VOoEJHdNZ30AtKfebv
fhHXleAmB1XKk/H84IypQZ0KeoJ9vYlq6+nuL/oeQf2i7un4TFEtM2MOcVww3rd3
TJBGTjg1ZuLDS5oVfZDP/8pDQZxsb53cMPb0Y8sK2+RmoWs5EWSIOWcIAYGMkOkp
/oixDzGUN6bdbzCIr1RzJAE=
-----END PRIVATE KEY-----
2 changes: 1 addition & 1 deletion fixtures/redis/ssl/ca.srl
Original file line number Diff line number Diff line change
@@ -1 +1 @@
24A4DFBC0495F919F017BA0B3BCE076490F2BCB5
24A4DFBC0495F919F017BA0B3BCE076490F2BCB7
43 changes: 22 additions & 21 deletions fixtures/redis/ssl/redis.crt
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
-----BEGIN CERTIFICATE-----
MIID1zCCAr+gAwIBAgIUJKTfvASV+RnwF7oLO84HZJDyvLwwDQYJKoZIhvcNAQEL
BQAwVDEVMBMGA1UEAwwMVGVzdCBSb290IENBMQswCQYDVQQGEwJVUzENMAsGA1UE
CAwEVGVzdDENMAsGA1UEBwwEVGVzdDEQMA4GA1UECgwHT3BlbmRhbDAeFw0yMzA4
MTQxNDU5MzZaFw0yNDA2MDkxNDU5MzZaMFkxGjAYBgNVBAMMEVJlZGlzIGNlcnRp
ZmljYXRlMQswCQYDVQQGEwJVUzENMAsGA1UECAwEVGVzdDENMAsGA1UEBwwEVGVz
dDEQMA4GA1UECgwHT3BlbmRhbDCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoC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8MQqBtGKOA2e+4ZNO0fi8ZWO4E1ijcY1ytIaTmnO1Xgy5P
DvQQLkCIWkeYhd57lbC8GWtXwsHwnLnIrZLt51UZjve+IgBEvciEXAMJn7yFTKv8
ZfB7scaqWSXjc7c67SaeN3nqR0PJkzyBUV8tSwjveWdDS6x924vRJ5oYCP257T7H
s4SpTYFy93HYA9bG0kVMNbcq
-----END CERTIFICATE-----
54 changes: 27 additions & 27 deletions fixtures/redis/ssl/redis.key
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
-----BEGIN PRIVATE KEY-----
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCMERCg60YGdo5U
d7aSx7zIlvCQ7uCYiwccq5SSROZ3Ybh+zBIMM/B5178Ww3srmps5AM0CL6n1RVU0
blRGMhLaBsyHoAy++h/cm7jBoSgStZtE5oh+2zrAFTKmTbw7UCYsPKnj7Uqtxtx+
0sPv6LnaySHP3+5A6Mf5Z3Sh0wZi240q76ZDiZNqp74TyYoeErizYlvrR7+LFHWA
V18Z9sCx1zSxq5aXltvI7Vhn7tp6EQs4pDmC/48INsc11XAUrhcEN7MCwxv4baqX
j1QP7C8W107dNwPHwmo2HCoiXVvPIKsOHVtNcmvKwq+TFNQu5T8DQgfKjZ/KXZJq
4fznNMw7AgMBAAECggEAA5l0ABv7s90mbDTwBqvxBdtHJFpXKuRhEui1NosPEctQ
6+/qQ3uu4YVcqO+YweFFEufFMkSvopjHse4R5q87vR7xRkej0Yvo914zFxrBRmB6
CdZoyeXFXTv442gvqaXgzUCOgcfOeafDcSjmayBjwk5qkDEqKhXb/w9HDS+N7vVk
BU+b/lMzQbGWb/oc3pHmEYXqFR+sFkHM2nCWBvQ1hRX4TVaeZpUWH7RBE95z87ug
F21yqEjQfaTh2cidKXWtnozxIv2XgUncY40njdhRRzyJqWIW4CEdxIAX0IWT0z2+
4L59DoNyYaimnaaSmNDj5WgDgL7tlTziXBJfBTpqDQKBgQDAe6Tf49eZINZ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68ievcaplvGA+
E8lpbV7pCRoTUI4PNog+0UR6FzuRSQ/1QgvLo2pSSXlG4CTnz5Y9THxNCQKBgD3i
UWYcgbqh1fO5CExnwRGdQgPZoOzP5bnigneTY1VN8Jy3zQmkwXpdenjAvW4/wD8O
4+7BB2xdo8pCbNZ219E7wfFzHN6IPzpj7gyc64ZB02zJfPXZIYOPzPbMq98fDAW4
qbUdSTcuur2YDgTgjdKyiikqv+mZasPXgcU/Kc7lAoGARL53x4J1msaHz4wbRoCL
1bAsNhK++S1RUiY6qSbAXkbM0cePn86J1bITBtY6xhsLmtPceJnJ8wHCQgUd9hl/
B61vgQLw/JRcZfBQ2bS1ojQy9Yk7a1W3lO3F0E1XCISC3/eWodravu9XLNy41GjO
gAlXOZzMgPEVNUSHfCjrVgg=
-----END PRIVATE KEY-----
23 changes: 18 additions & 5 deletions fixtures/redis/ssl/redis.v3.ext → fixtures/redis/ssl/req.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
authorityKeyIdentifier=keyid,issuer
basicConstraints=CA:FALSE
keyUsage = digitalSignature, nonRepudiation, keyEncipherment, dataEncipherment
subjectAltName = @alt_names
[req]
default_bits = 2048
prompt = no
default_md = sha256
distinguished_name = dn

[dn]
C = US
O = Apache OpenDAL Service Test Redis
CN = redis.test.service.opendal.apache.org

[alt_names]
DNS.1 = localhost
IP.1 = 127.0.0.1
Expand All @@ -10,4 +17,10 @@ IP.3 = 172.30.0.3
IP.4 = 172.30.0.4
IP.5 = 172.30.0.5
IP.6 = 172.30.0.6
IP.7 = 172.30.0.7
IP.7 = 172.30.0.7

[v3_ca]
authorityKeyIdentifier=keyid,issuer
basicConstraints=CA:FALSE
keyUsage = digitalSignature, nonRepudiation, keyEncipherment, dataEncipherment
subjectAltName = @alt_names

0 comments on commit babbfe2

Please sign in to comment.