YYYY-MM-DDTHH:MM:SS INFO 908 --- [VCF Usage Meter Login Service] [ient-1-Worker-0] o.b.jsse.provider.ProvTlsClient : [client #### @#####af] opening connection to xxx:5480
YYYY-MM-DDTHH:MM:SS INFO 908 --- [VCF Usage Meter Login Service] [ient-1-Worker-0] o.b.jsse.provider.ProvTlsClient : [client #### @#####af] raised fatal(2) certificate_unknown(46) alert: Failed to process record
org.bouncycastle.tls.TlsFatalAlert: certificate_unknown(46)
at org.bouncycastle.jsse.provider.ProvSSLEngine.checkServerTrusted(ProvSSLEngine.java:154)
at org.bouncycastle.jsse.provider.ProvTlsClient$1.notifyServerCertificate(ProvTlsClient.java:382)
at org.bouncycastle.tls.TlsUtils.processServerCertificate(TlsUtils.java:4830)
at org.bouncycastle.tls.TlsClientProtocol.handleServerCertificate(TlsClientProtocol.java:797)
Caused by: java.security.cert.CertificateException: No name found matching xxx
at org.bouncycastle.jsse.provider.HostnameUtil.checkHostname(HostnameUtil.java:108)
at org.bouncycastle.jsse.provider.ProvX509TrustManager.checkEndpointID(ProvX509TrustManager.java:329)
at org.bouncycastle.jsse.provider.ProvX509TrustManager.checkEndpointID(ProvX509TrustManager.java:448)
at org.bouncycastle.jsse.provider.ProvX509TrustManager.checkExtendedTrust(ProvX509TrustManager.java:357)
... 24 common frames omitted
YYYY-MM-DDTHH:MM:SS INFO 908 --- [VCF Usage Meter Login Service] [ient-1-Worker-0] o.b.jsse.provider.ProvTlsClient : [client ##### @#####af] disconnected from xxx:5480
YYYY-MM-DDTHH:MM:SS WARN 908 --- [VCF Usage Meter Login Service] [nio-8050-exec-2] c.v.v.u.a.p.PamAuthenticationProvider : Unable to make HTTP call to VAMI API
VCF Usage Meter 9.X
This issue will occur, if the DNS entries are incorrectly set in the VAMI page and there are certificate issues.
echo $(hostname)
bash /usr/bin/lookup-hostname.sh
/etc/hosts fileVCF Usage Meter Appliance 9.0.0.0-24699491.
usagemeter@Testlab [ ~ ]$ cat /etc/hosts
# Begin /etc/hosts (network card version)
##.##.##.## example.com
12.7.0.0.1 localhost. localdomain
127.0.0.1 localhost
127.0.0.1 photon# End /etc/hosts (network card version)
usagemeter@Testlab[ ~ ]$
nmctl show-dns command.nmctl set-dns command.Post making the above changes, you should be able to login to the VAMI page of the Usage Meter.
Once logged into the VAMI page, Navigate to Networking tab and update the DNS servers and hit save.
Post making above changes, you should be able to login to the web interface of the Usage Meter.