Hello, I’ve been trying to connect to a Strongswan VPN via NetworkManager and found that I’m unable to because I’m supposedly missing some certificates:
Mar 25 14:25:16 laptop charon-nm[3720270]: 15[IKE] received end entity cert "C=GB, ST=<REDACTED>, O=<REDACTED>, CN=<REDACTED>"
Mar 25 14:25:16 laptop charon-nm[3720270]: 15[IKE] received issuer cert "C=GB, O=Sectigo Limited, CN=Sectigo Public Server Authentication CA OV R36"
Mar 25 14:25:16 laptop charon-nm[3720270]: 15[IKE] received issuer cert "C=GB, O=Sectigo Limited, CN=Sectigo Public Server Authentication Root R46"
Mar 25 14:25:16 laptop charon-nm[3720270]: 15[IKE] received issuer cert "C=US, ST=New Jersey, L=Jersey City, O=The USERTRUST Network, CN=USERTrust RSA Certification Authority"
Mar 25 14:25:16 laptop charon-nm[3720270]: 15[CFG] using certificate "C=GB, ST=<REDACTED>, O=<REDACTED>, CN=<REDACTED>"
Mar 25 14:25:16 laptop charon-nm[3720270]: 15[CFG] using untrusted intermediate certificate "C=GB, O=Sectigo Limited, CN=Sectigo Public Server Authentication CA OV R36"
Mar 25 14:25:16 laptop charon-nm[3720270]: 15[CFG] using untrusted intermediate certificate "C=GB, O=Sectigo Limited, CN=Sectigo Public Server Authentication Root R46"
Mar 25 14:25:16 laptop charon-nm[3720270]: 15[CFG] using untrusted intermediate certificate "C=US, ST=New Jersey, L=Jersey City, O=The USERTRUST Network, CN=USERTrust RSA Certification Authority"
Mar 25 14:25:16 laptop charon-nm[3720270]: 15[CFG] no issuer certificate found for "C=US, ST=New Jersey, L=Jersey City, O=The USERTRUST Network, CN=USERTrust RSA Certification Authority"
Mar 25 14:25:16 laptop charon-nm[3720270]: 15[CFG] issuer is "C=GB, ST=Greater Manchester, L=Salford, O=Comodo CA Limited, CN=AAA Certificate Services"
I’ve been able to fix this by downloading this certificate and then adding certificate=/path/to/sectigo-root.crt to the connections vpn.data. It also seems like this certificate isn’t bundled. Is there any way to get it bundled? Or am I missing something?
As a sidenote, I had troubles connecting because routing tables weren’t being set correctly so had to add ipv4.route-table=210 to my connection. Anyone know why this doesn’t happen by default with Strongswan?