Certificate Authentication with LDAP/AD

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
Mrxlazuardin
OpenVpn Newbie
Posts: 2
Joined: Wed Nov 02, 2011 4:04 pm

Certificate Authentication with LDAP/AD

Post by Mrxlazuardin » Wed Nov 02, 2011 4:11 pm

Hi,

Is it possible to do certificate authentication with clients certificate and the server authenticates the clients certificate with LDAP/AD? I mean that all clients certificate is located on LDAP/AD, not as files inside OpenVPN server. So, it is like standard LDAP/AD authentication without using any password but clients certificate. If it is possible, please inform some configuration example related to this case.

Best regards,

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: Certificate Authentication with LDAP/AD

Post by janjust » Wed Nov 02, 2011 9:32 pm

there is no need to store ANY client certificates on the openvpn server; the openvpn server only needs a server certificate+private key , plus the CA cert to authenticate itself.

A good security measure is to NOT store any client keys (and certainly not the CA private key) on the openvpn server itself.

So yes, you can use LDAP/AD to do authentication but it would require some scripting.

Mrxlazuardin
OpenVpn Newbie
Posts: 2
Joined: Wed Nov 02, 2011 4:04 pm

Re: Certificate Authentication with LDAP/AD

Post by Mrxlazuardin » Wed Nov 02, 2011 10:25 pm

Hi,

Any configuration example about using LDAP/AD for authenticating clients certificate?

Best regards,

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: Certificate Authentication with LDAP/AD

Post by janjust » Wed Nov 02, 2011 10:57 pm

don't know of any examples; perhaps eurephia comes closest.

Post Reply