...
http://10.12.5.200:30209/logs/
Check certificate
Code Block | ||||
---|---|---|---|---|
| ||||
root@dev-robot-robot-56bcbffb5d-jlvgj:~# cat verify_cert.sh
#!/bin/bash
for server in aaf-service.onap:8100 aai.onap:8443 deployment-handler.onap:8443 dmaap-bc.onap:8443 dmaap-dr-node.onap:8443 dmaap-dr-prov.onap:8443 vid.onap:8443 portal-app.onap:8443 sdc-fe.onap:9443 sdc-be.onap:8443 sdnc.onap:8443 clamp.onap:8443 pap.onap:8443
do
host=$(echo $server | cut -d ":" -f 1)
echo host:$host
echo | openssl s_client -showcerts -servername $host -connect $server 2>/dev/null | openssl x509 -inform pem -noout -text | grep -E "Not After|Not Before|Issuer:|Subject:"
done
|