Skip to content

Commit

Permalink
Update admin-revoker certs to be admin
Browse files Browse the repository at this point in the history
The admin and admin-revoker tools shared certs. admin-revoker is gone, so
update the certs to use the admin name only.
  • Loading branch information
mcpherrinm committed Jan 14, 2025
1 parent bb9d82b commit 3dc5051
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion test/certs/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ ipki() (
minica -domains redis -ip-addresses 10.33.33.2,10.33.33.3,10.33.33.4,10.33.33.5,10.33.33.6,10.33.33.7,10.33.33.8,10.33.33.9

# Used by Boulder gRPC services as both server and client mTLS certificates.
for SERVICE in admin-revoker expiration-mailer ocsp-responder consul \
for SERVICE in admin expiration-mailer ocsp-responder consul \
wfe akamai-purger bad-key-revoker crl-updater crl-storer \
health-checker rocsp-tool sfe; do
minica -domains "${SERVICE}.boulder" &
Expand Down
4 changes: 2 additions & 2 deletions test/config-next/admin.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
},
"tls": {
"caCertFile": "test/certs/ipki/minica.pem",
"certFile": "test/certs/ipki/admin-revoker.boulder/cert.pem",
"keyFile": "test/certs/ipki/admin-revoker.boulder/key.pem"
"certFile": "test/certs/ipki/admin.boulder/cert.pem",
"keyFile": "test/certs/ipki/admin.boulder/key.pem"
},
"raService": {
"dnsAuthority": "consul.service.consul",
Expand Down
2 changes: 1 addition & 1 deletion test/config-next/ra.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
"services": {
"ra.RegistrationAuthority": {
"clientNames": [
"admin-revoker.boulder",
"admin.boulder",
"bad-key-revoker.boulder",
"ocsp-responder.boulder",
"wfe.boulder",
Expand Down
4 changes: 2 additions & 2 deletions test/config-next/sa.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"services": {
"sa.StorageAuthority": {
"clientNames": [
"admin-revoker.boulder",
"admin.boulder",
"ca.boulder",
"crl-updater.boulder",
"expiration-mailer.boulder",
Expand All @@ -33,7 +33,7 @@
},
"sa.StorageAuthorityReadOnly": {
"clientNames": [
"admin-revoker.boulder",
"admin.boulder",
"ocsp-responder.boulder",
"wfe.boulder",
"sfe.boulder"
Expand Down
4 changes: 2 additions & 2 deletions test/config/admin.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
"debugAddr": ":8014",
"tls": {
"caCertFile": "test/certs/ipki/minica.pem",
"certFile": "test/certs/ipki/admin-revoker.boulder/cert.pem",
"keyFile": "test/certs/ipki/admin-revoker.boulder/key.pem"
"certFile": "test/certs/ipki/admin.boulder/cert.pem",
"keyFile": "test/certs/ipki/admin.boulder/key.pem"
},
"raService": {
"dnsAuthority": "consul.service.consul",
Expand Down
2 changes: 1 addition & 1 deletion test/config/ra.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
"services": {
"ra.RegistrationAuthority": {
"clientNames": [
"admin-revoker.boulder",
"admin.boulder",
"bad-key-revoker.boulder",
"ocsp-responder.boulder",
"sfe.boulder",
Expand Down
4 changes: 2 additions & 2 deletions test/config/sa.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"services": {
"sa.StorageAuthority": {
"clientNames": [
"admin-revoker.boulder",
"admin.boulder",
"ca.boulder",
"crl-updater.boulder",
"expiration-mailer.boulder",
Expand All @@ -32,7 +32,7 @@
},
"sa.StorageAuthorityReadOnly": {
"clientNames": [
"admin-revoker.boulder",
"admin.boulder",
"crl-updater.boulder",
"ocsp-responder.boulder",
"sfe.boulder",
Expand Down

0 comments on commit 3dc5051

Please sign in to comment.