-
Notifications
You must be signed in to change notification settings - Fork 526
Closed as duplicate of#246
Closed as duplicate of#246
Copy link
Description
Description
The insecureAddress configuration option in ca.json does not appear to start an HTTP listener in step-ca version 0.27.5.
Configuration
{
"address": ":9000",
"insecureAddress": ":9080",
"root": "/home/step/certs/root_ca.crt",
"crt": "/home/step/certs/root_ca.crt",
"key": "/home/step/certs/root_ca.key",
"dnsNames": ["ca.example.com"],
"db": {
"type": "badgerv2",
"dataSource": "/home/step/db"
},
"authority": {
"provisioners": [{
"type": "ACME",
"name": "acme"
}]
}
}Expected Behavior
step-ca should start an HTTP listener on port 9080 in addition to the HTTPS listener on port 9000, as documented.
Actual Behavior
Only the HTTPS listener on port 9000 is started. The startup logs show:
Serving HTTPS on :9000 ...
No mention of the insecure listener. Checking with netstat inside the container confirms only port 9000 is listening:
tcp 0 0 :::9000 :::* LISTEN
Attempting to connect to port 9080 results in "Connection refused".
Environment
- step-ca version: 0.27.5
- Docker image: smallstep/step-ca:0.27.5
- OS: Linux (Synology DSM / Docker)
Use Case
Running step-ca behind a TLS-terminating reverse proxy (Synology's built-in reverse proxy) which does not support connecting to HTTPS backends with custom CA certificates.
Related: #246
Metadata
Metadata
Assignees
Labels
No labels