Skip to content

Commit e6f5614

Browse files
authored
Merge pull request #13 from Diesel-Net/development
Fix broken configuration
2 parents 4eb06ca + a938b38 commit e6f5614

File tree

2 files changed

+22
-14
lines changed

2 files changed

+22
-14
lines changed

.ansible/templates/ca.json

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"root": "/home/step/certs/root_ca.crt",
3-
"federatedRoots": [],
3+
"federatedRoots": null,
44
"crt": "/home/step/certs/intermediate_ca.crt",
55
"key": "/home/step/secrets/intermediate_ca_key",
66
"address": ":443",
@@ -14,7 +14,7 @@
1414
"format": "text"
1515
},
1616
"db": {
17-
"type": "badger",
17+
"type": "badgerv2",
1818
"dataSource": "/home/step/db",
1919
"badgerFileLoadingMode": ""
2020
},
@@ -38,19 +38,27 @@
3838
"type": "ACME",
3939
"name": "acme",
4040
"claims": {
41-
"maxTLSCertDuration": "2160h",
42-
"defaultTLSCertDuration": "2160h"
41+
"enableSSHCA": true,
42+
"disableRenewal": false,
43+
"allowRenewalAfterExpiry": false
44+
},
45+
"options": {
46+
"x509": {},
47+
"ssh": {}
4348
}
4449
}
45-
]
50+
],
51+
"template": {},
52+
"backdate": "1m0s"
4653
},
4754
"tls": {
4855
"cipherSuites": [
49-
"TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305",
56+
"TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305_SHA256",
5057
"TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256"
5158
],
5259
"minVersion": 1.2,
5360
"maxVersion": 1.3,
5461
"renegotiation": false
55-
}
62+
},
63+
"commonName": "Step Online CA"
5664
}

.ansible/templates/docker-compose.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,21 @@ version: '3.8'
44
services:
55

66
server:
7-
image: smallstep/step-ca:0.16.0
7+
image: smallstep/step-ca:0.23.0
88
volumes:
99
- /etc/localtime:/etc/localtime
10-
- /etc/ssl/certs/:/etc/ssl/certs/
10+
- /etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt
1111
- {{ config_dir }}/:/home/step/
1212
networks:
1313
- {{ traefik_network }}
14-
#environment:
15-
#- STEPDEBUG=1
14+
environment:
15+
- STEPDEBUG=1
1616
deploy:
1717
labels:
1818
- traefik.enable=true
19-
- traefik.tcp.services.{{ git_repository }}.loadbalancer.server.port=443
20-
- traefik.tcp.routers.{{ git_repository }}.rule=HostSNI(`{{ domain }}`)
21-
- traefik.tcp.routers.{{ git_repository }}.tls.passthrough=true
19+
- traefik.tcp.services.{{ repository }}.loadbalancer.server.port=443
20+
- traefik.tcp.routers.{{ repository }}.rule=HostSNI(`{{ domain }}`)
21+
- traefik.tcp.routers.{{ repository }}.tls.passthrough=true
2222
networks:
2323
{{ traefik_network }}:
2424
external:

0 commit comments

Comments
 (0)