Hello everyone.
I am having a little trouble configuring a IKEv2 VPN in Fedora. I’ve used the command “sudo journalctl -u NetworkManager.service” to find out the problem and it turns out to be an error on searching for getting the trusted RSA public key, as you can see by the log below:
mar 24 12:12:19 localhost.localdomain charon-nm[4346]: 16[IKE] received end entity cert "C=PT, postalCode=1649-004, ST=Lisboa, L=Lisboa, STREET=Alameda da Universidade>
mar 24 12:12:19 localhost.localdomain charon-nm[4346]: 16[IKE] received issuer cert "C=NL, O=GEANT Vereniging, CN=GEANT OV RSA CA 4"
mar 24 12:12:19 localhost.localdomain charon-nm[4346]: 16[CFG] using certificate "C=PT, postalCode=1649-004, ST=Lisboa, L=Lisboa, STREET=Alameda da Universidade, STR>
mar 24 12:12:19 localhost.localdomain charon-nm[4346]: 16[CFG] using untrusted intermediate certificate "C=NL, O=GEANT Vereniging, CN=GEANT OV RSA CA 4"
mar 24 12:12:19 localhost.localdomain charon-nm[4346]: 16[CFG] checking certificate status of "C=PT, postalCode=1649-004, ST=Lisboa, L=Lisboa, STREET=Alameda da Univer>
mar 24 12:12:19 localhost.localdomain charon-nm[4346]: 16[CFG] requesting ocsp status from 'http://GEANT.ocsp.sectigo.com' ...
mar 24 12:12:19 localhost.localdomain charon-nm[4346]: 16[CFG] ocsp response correctly signed by "C=NL, O=GEANT Vereniging, CN=GEANT OV RSA CA 4"
mar 24 12:12:19 localhost.localdomain charon-nm[4346]: 16[CFG] ocsp response is valid: until Mar 30 20:31:34 2021
mar 24 12:12:19 localhost.localdomain charon-nm[4346]: 16[CFG] certificate status is good
mar 24 12:12:19 localhost.localdomain charon-nm[4346]: 16[CFG] no issuer certificate found for "C=NL, O=GEANT Vereniging, CN=GEANT OV RSA CA 4"
mar 24 12:12:19 localhost.localdomain NetworkManager[977]: <warn> [1616587939.7494] vpn-connection[0x560215c26140,83606a02-7fa7-49b7-8cef-3ebd27c45c52,"VPN 1",0]: VPN>
mar 24 12:12:19 localhost.localdomain charon-nm[4346]: 16[CFG] issuer is "C=US, ST=New Jersey, L=Jersey City, O=The USERTRUST Network, CN=USERTrust RSA Certification>
mar 24 12:12:19 localhost.localdomain NetworkManager[977]: <warn> [1616587939.7496] vpn-connection[0x560215c26140,83606a02-7fa7-49b7-8cef-3ebd27c45c52,"VPN 1",0]: VPN>
mar 24 12:12:19 localhost.localdomain charon-nm[4346]: 16[IKE] no trusted RSA public key found for 'vpn.ciencias.ulisboa.pt'
mar 24 12:12:19 localhost.localdomain NetworkManager[977]: <info> [1616587939.7496] vpn-connection[0x560215c26140,83606a02-7fa7-49b7-8cef-3ebd27c45c52,"VPN 1",0]: VPN>
I am currently using strongswan with the following commands to install it:
dnf install NetworkManager-strongswan-gnome.x86_64 NetworkManager-strongswan.x86_64 strongswan-charon-nm.x86_64 strongswan.x86_64
What should I do? I do have both certificates in “.cer” format if I do need to install it, but I was hoping it would be possible without it.
Thanks,
Miguel Santana