Skip to content

Commit 32b950f

Browse files
angelachintcdowney
andcommitted
fix: no longer print invalid api cert
- previously, if routing-api was disabled, we would return a ruby object in the cert files for route-registrar - fixes #155 [#168138145] Co-authored-by: Tim Downey <[email protected]>
1 parent a58f17a commit 32b950f

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

jobs/route_registrar/templates/client.crt.erb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
return link.p('routing_api.mtls_client_cert')
88
end
99
end
10+
11+
return ''
1012
end
1113

1214
client_cert

jobs/route_registrar/templates/client_private.key.erb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
return link.p('routing_api.mtls_client_key')
88
end
99
end
10+
11+
return ''
1012
end
1113

1214
client_private_key

jobs/route_registrar/templates/server_ca.crt.erb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
return link.p('routing_api.mtls_ca')
88
end
99
end
10+
11+
return ''
1012
end
1113

1214
server_ca_cert

0 commit comments

Comments
 (0)