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,
Certificate Authentication with LDAP/AD
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.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 2
- Joined: Wed Nov 02, 2011 4:04 pm
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: Certificate Authentication with LDAP/AD
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.
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.
-
- OpenVpn Newbie
- Posts: 2
- Joined: Wed Nov 02, 2011 4:04 pm
Re: Certificate Authentication with LDAP/AD
Hi,
Any configuration example about using LDAP/AD for authenticating clients certificate?
Best regards,
Any configuration example about using LDAP/AD for authenticating clients certificate?
Best regards,
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: Certificate Authentication with LDAP/AD
don't know of any examples; perhaps eurephia comes closest.