Notes

Can't connect to OPNsense's OpenVPN

Today I ran into a problem when connecting to an OpenVPN server running on an OPNsense firewall.

I received the following error message:

Decoding PKCS12 failed. Probably wrong password or unsupported/legacy encryption

I tried to reset the password, but that didn't have any effect.

After a short research, I found the following issue: OpenVPN-Gui 2.6 unable to decrypt .p12 file created in Client Export

So this seems to be a compatibility problem with the OpenSSL libraries of OpenVPN GUI 2.6 and OPNsense. After downgrading to OpenVPN GUI 2.5.7, the problem was gone for me. I hope they fix this soon.

Published on 2023-02-14, 20:00 +0000