microfab icon indicating copy to clipboard operation
microfab copied to clipboard

Problem with Enabling TLS Certificates

Open bcdebusk opened this issue 2 years ago • 4 comments

When I enable TLS (as per the example):

export MICROFAB_CONFIG='{ "port": 8443, "tls": { "enabled": true } }'

docker run -p 8443:8443 -e MICROFAB_CONFIG ibmcom/ibp-microfab

I get the following startup error(s):

[ org1peer] 2022-08-18 17:48:22.030 UTC 0032 ERRO [comm.tls] ClientHandshake -> Client TLS handshake failed after 2.06779ms with error: x509: certificate relies on legacy Common Name field, use SANs instead remoteaddress=127.0.0.1:8443 2022/08/18 17:48:22 http: TLS handshake error from 127.0.0.1:39176: remote error: tls: bad certificate 2022/08/18 17:48:23 http: TLS handshake error from 127.0.0.1:39178: remote error: tls: bad certificate [ org1peer] 2022-08-18 17:48:23.055 UTC 0033 ERRO [comm.tls] ClientHandshake -> Client TLS handshake failed after 4.131417ms with error: x509: certificate relies on legacy Common Name field, use SANs instead remoteaddress=127.0.0.1:8443

Any ideas?

bcdebusk avatar Aug 18 '22 17:08 bcdebusk