Certificates: private key does not match the submitted certificate data
-
Pasting/importing this in certificate data and private key data throws an error.
The following input errors were detected:
The submitted private key does not match the submitted certificate data.-----BEGIN EC PRIVATE KEY----- MHQCAQEEINI+wACDB8XFDfC4WFtiI57ZVMHI0p2cc1VJ8RbNC0YuoAcGBSuBBAAK oUQDQgAEAR+4uR42xOaCxhgZgjoz45H1SnHEi23RQ1Mp22azO0xjryesL/+HJkOO uJVLidAFvnYt/W1sHnT0RDHxXEG/hA== -----END EC PRIVATE KEY----- -----BEGIN CERTIFICATE----- MIIBfDCCASKgAwIBAgIBAzAJBgcqhkjOPQQBMCAxHjAcBgNVBAMMFeOCveODi+OD vOagquW8j+S8muekvjAeFw0xNzA0MTUwMDAwMDBaFw0yNzA0MTQyMzU5NTlaMCAx HjAcBgNVBAMMFeOCveODi+ODvOagquW8j+S8muekvjBWMBAGByqGSM49AgEGBSuB BAAKA0IABAEfuLkeNsTmgsYYGYI6M+OR9UpxxItt0UNTKdtmsztMY68nrC//hyZD jriVS4nQBb52Lf1tbB509EQx8VxBv4SjUTBPMAwGA1UdEwEB/wQCMAAwHQYDVR0O BBYEFOQygEqrgFKGNJU4tM6AevcUhadRMAsGA1UdDwQEAwIEsDATBgNVHSUEDDAK BggrBgEFBQcDAjAJBgcqhkjOPQQBA0kAMEYCIQDNUT3nc3AE9LUDVn/ShKPuQ0V3 SpdperlFajXrrGgmqQIhAKHC1+9LqObqNPOUcTUDc0/Y0cbRWMBeljnDU2FshCnb -----END CERTIFICATE-----I am trying to setup an OpenVPN (2.4) client with EC crypto. I've tested the connection successfully using the windows client. As usual, RSA client cert and key is no problem. What gives?
-
I've made a pull-request to fix this: https://github.com/pfsense/pfsense/pull/3693
-
@PiBa tested the patch and it works beautifully. Thanks so much :)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy