Article Number
000039806
Applies To
RSA Product Set: NetWitness Platform
RSA Product/Service Type: Admin Server (UI)
RSA Version/Condition: 11.6.0.0
Platform: CentOS
O/S Version: 7
Issue
Unable to access the Admin Server UI. "Unknown ca" SSL HandshakeException appears in the sa.log due to missing CA certificates in the truststore.pem file.
Cause
Unable to access the Admin Server UI due to the following CA certificates missing, which are used by the truststore PEM file (
/etc/pki/nw/trust/truststore.pem).
- /etc/pki/nw/ca/nwca-cert.pem
- /etc/pki/nw/ca/ssca-cert.pem
The following exceptions or errors are seen in the specified logs:
Error Message 1javax.net.ssl.SSLHandshakeException: Received fatal alert: unknown_ca
Logs/var/netwitness/uax/logs/sa.log/opt/rsa/sms/logs/sms.logError Message 2Federation exchange 'carlos.xx.xx.xx' in vhost '/rsa/system' did not connect to exchange 'carlos.xx.xx.xx' in vhost '/rsa/system' on amqps://<node-x-ip>:5671 {error,{tls_alert,"unknown ca"}}
Logs/var/log/rabbitmq/rabbit@<uuid>.logError Message 3[MessageListenerContainer-17593] ERROR c.r.a.l.e.t.LaunchMessageListenerContainer|Failed to check/redeclare auto-delete queue(s). org.springframwork.amqp.AmqpIOException: javax.net.ssl.SSLException: Fatal Alert received: {48}
Logs/var/log/netwitness/admin-server/admin-server.log
/var/log/netwitness/config-server/config-server.log
/var/log/netwitness/orchestration-server/orchestration-server.log
/var/log/netwitness/security-server/security-server.log
Resolution
To regenerate the missing certificates and access the Admin Server UI, perform the following steps.
- Move the existing truststore PEM files at /etc/pki/nw/ to a different location.
mkdir -p /tmp/truststore.bkp
mv /etc/pki/truststore.pem /etc/pki/nw/truststore.pem.idx /tmp/truststore.bkp
- Run chef recipe: [nw-pki:truststores] to regenerate the truststore PEM files.
chef-client -z -c /var/netwitness/config-management/client.rb -r 'recipe[nw-pki:truststores]'
- Verify if the nwca-cert.pem and the ssca-cert.pem certificates are available in the newly generated truststore.pem.idx file
[root@adminserver]# cat /etc/pki/nw/trust/truststore.pem.idx
/etc/pki/nw/ca/nwca-cert.pem
/etc/pki/nw/ca/ssca-cert/pem
- Restart the RabbitMQ service.
systemctl restart rabbitmq-server
- Login to the Admin server's UI.