Skip to content

Commit a599d74

Browse files
committed
Remove ocsp responderUrl from takserver config
1 parent dca2577 commit a599d74

File tree

2 files changed

+1
-32
lines changed

2 files changed

+1
-32
lines changed

scripts/start-tak.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ sleep 2
1010
# (re-)Create config
1111
echo "(Re-)Creating CoreConfig"
1212
set -x
13-
export TAK_OCSP_UPSTREAM_IP=$(getent hosts ${TAK_OCSP_UPSTREAM} | awk '{ print $1 }')
1413
gomplate -f /opt/templates/CoreConfig.tpl -o ${COMMON_CONFIG_PATH} # used by various scripts
1514
# Process specific config
1615
gomplate -f /opt/templates/CoreConfig.tpl -o ${TAKCL_CORECONFIG_PATH}

templates/CoreConfig.tpl

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -64,42 +64,12 @@
6464
<queue/>
6565
</buffer>
6666

67-
<!-- With "Authority Information Access" included in certs this works for both 8089 and 8443 but I see no OCSP query for 8443 -->
6867
<security>
6968
<tls context="TLSv1.2"
7069
keymanager="SunX509"
7170
keystore="JKS" keystoreFile="/opt/tak/data/certs/files/takserver.jks" keystorePass="{{.Env.TAKSERVER_CERT_PASS}}"
7271
truststore="JKS" truststoreFile="/opt/tak/data/certs/files/truststore-root.jks" truststorePass="{{.Env.CA_PASS}}"
73-
enableOCSP="true" responderUrl="http://{{.Env.TAK_OCSP_UPSTREAM_IP}}:{{.Env.TAK_OCSP_PORT}}"
72+
enableOCSP="{{getenv "TAK_OCSP_ENABLE" "false"}}"
7473
/>
7574
</security>
76-
77-
<!-- 8089 works (until CRL expires) but 8443 doesn't, there is no sane way to refresh the CRL (process restart is way too slow)
78-
and I see *no* queries to OCSP server -->
79-
<!--
80-
<security>
81-
<tls keymanager="SunX509"
82-
keystore="JKS" keystoreFile="/opt/tak/data/certs/files/takserver.jks" keystorePass="{{.Env.TAKSERVER_CERT_PASS}}"
83-
truststore="JKS" truststoreFile="/opt/tak/data/certs/files/truststore-root.jks" truststorePass="{{.Env.CA_PASS}}"
84-
enableOCSP="true" responderUrl="http://{{.Env.TAK_OCSP_UPSTREAM_IP}}:{{.Env.TAK_OCSP_PORT}}"
85-
>
86-
<crl _name="ROOT CA" crlFile="/ca_public/crl_root.pem"/>
87-
<crl _name="RASENMAEHER CA" crlFile="/ca_public/crl_intermediate.pem"/>
88-
</tls>
89-
</security>
90-
-->
91-
92-
<!-- in both of the above cases we get: [services-deployment-worker-#57%ignite-takserver%] WARN com.bbn.marti.service.SSLConfig - TLS enabled, but no certificate revocation lists, and OSCP is not enabled in Core Config!
93-
however in the below case we get similar complaint a *second* time when the 8089 port actually starts serving -->
94-
95-
<!-- 8089 and 8443 work but obviously revocation checks do not work -->
96-
<!--
97-
<security>
98-
<tls keymanager="SunX509"
99-
keystore="JKS" keystoreFile="/opt/tak/data/certs/files/takserver.jks" keystorePass="{{.Env.TAKSERVER_CERT_PASS}}"
100-
truststore="JKS" truststoreFile="/opt/tak/data/certs/files/truststore-root.jks" truststorePass="{{.Env.CA_PASS}}"
101-
/>
102-
</security>
103-
-->
104-
10575
</Configuration>

0 commit comments

Comments
 (0)