easy-rsa icon indicating copy to clipboard operation
easy-rsa copied to clipboard

PKI Profile for IKE/IPSec

Open QueuingKoala opened this issue 10 years ago • 2 comments

Pull requests #45, #46 aim to add IPSec compatibility with Easy-RSA. On-point with this goal is RFC4945, and the related informational RFC4809. After a review of the requirements in these RFCs, basic support should be as simple as a new pair of client/server extensions under x509-types.

One issue I'm as yet undecided on is handling of the DN Subject. Per RFC, this value may be blank, as IKE will use the subjectAltName as authoritative (RFC4945 sec. 5.1.2.1 & 5.1.3.6.) Also of note is that RFC4809 (sec. 3.7.2) may choose to use either the DN or subjectAltName fields for verification. Support should exist for requesters to supply thees as-desired, possibly keeping today's existing behavior; attempting to supply an empty CN currently results in a failure.

An RFC4945-compliant CA has additional responsibilities, notably CRL and/or OCSP handling. While Easy-RSA supports these features, it is likely outside the scope to enforce these requirements in the core code. As an option down the road, possibly for an interested implementor, would be a contrib/ style script to aid in the configuration of further IKE-compliance.

QueuingKoala avatar Nov 25 '14 00:11 QueuingKoala

A new feature-branch for this support has been created: issue49-ipsec-rfc4945. Feedback is welcome regarding how well this works for environments making use of IPSec certificates.

A description of the feature and a reference to the RFCs for external requirements probably need to happen before this can get merged into a mainline branch.

QueuingKoala avatar Dec 17 '14 18:12 QueuingKoala

@QueuingKoala I cannot see a reason to delay merging this, are you still interested ?

Ref: https://github.com/QueuingKoala/easyrsa3/commit/448ee272f5f500facef9cdc9b9711bfeaf82e55c

TinCanTech avatar Apr 02 '22 15:04 TinCanTech