- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.
10-07-2024 01:57 AM
Hi, the only way we have been able to successfully configure HTMl5GW and PSM on v14.2 is with the above set to True, with this connection fails with assigned certs we get "certicate verification failure "unable to get local issuer certificate (20) at stack position 1.
3 questions on this:
1) Has anyone seen this error before?
2) Any insight into the meaning of position 1?
3) Has anyone been able to get this work with above setting = false?
We are using v14.2.
We seem to be experiencing a difference in outcome with the cert verification within the host which verifies OK, but a different outcome with the container, differences seen on the certificate handshake?
Thanks in advance for any info/suggestions.
10-07-2024 04:44 AM
Hi @Stephen Clarke,
Had some issues when connecting with 14.2 as well turned out the root/intermediate trust wasn't in order when you launch your html5 gateway with debug levels raised are all certificates loaded without errors?
For me turned out the certificate wasn't imported correctly when starting the container, needed to add the address as SubjectAltName.
10-07-2024 04:44 AM
Hi @Stephen Clarke,
Had some issues when connecting with 14.2 as well turned out the root/intermediate trust wasn't in order when you launch your html5 gateway with debug levels raised are all certificates loaded without errors?
For me turned out the certificate wasn't imported correctly when starting the container, needed to add the address as SubjectAltName.
10-07-2024 05:30 AM
Have you launched the html5gw with the options PSMGWAppLogLevel and PSMGWGuacLogLevel on debug to see if errors occur when it's first launched?
10-07-2024 05:30 AM
Have you launched the html5gw with the options PSMGWAppLogLevel and PSMGWGuacLogLevel on debug to see if errors occur when it's first launched?
10-07-2024 08:14 AM
Usually means that the PSM server (or loadbalancer) presents only its server certificate on the RDP port - without any intermediate certificates. And since your PSM GW container only knows about the root CA, it can't complete the chain between server cert -> intermediate CA cert -> root CA cert, and therefore can't validate that the server cert is issued by a trusted CA. This is solved by adding the intermediate CA cert to the file that contains the trusted root CAs, which you pass to the container.
I have had the best experience, when using the following file content when launching a PSM GW container:
The reason why it works outside of the container, is probably that in your operating systems's certificate store, you already have the intermediate CA cert file, so openssl can complete the cert chain.
10-07-2024 08:46 AM
Ok, so checking in with the team on this a few questions have come back to me:
----- 2nd point, Yes have a key file and its not locked with a passphrase…which asks the question on the first point, where if the GWCert has the Certificate which requires the KEY in the 2nd point, if I cat the cert and the intermediate for this, will the key stop working?
----- 3rd point, I have the intermediate and the root, cat’d together in this order…..both were PEM formatted and readable, I can cat them and openssl them to check
Any thoughts on questions above?
Responses too our are much appreciated.
10-07-2024 08:51 AM
Some further clarity from us on points above.
Bullet 1:
I create a new bundle.crt containing the GBServer.crt and the intermediate
Edited the run string of the container, and included the new cert in the /opt/cert
Ran the container……the healthcheck still works and doesn’t complain about the cert so that part is OK….
Still get the same error message PSMGW0008E “ Something went wrong”
Bullet2:
Still using the key file that was used to generate the CSR…..no password/PassPhrase on the file
Bullet3:
This file I have run cat <Intermediate> <root> > CABundle.crt
I have edited the string for the container to point to this file
All files are brought into the container as its it the /opt/import folder inside the container.
Just some further clarity from the team on the config we currently have to aid in getting to an issue resolution.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!

