Certificate fields

This forum is for admins who are looking to build or expand their OpenVPN setup.

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
veljkopopovi
OpenVpn Newbie
Posts: 2
Joined: Tue Dec 14, 2010 1:17 pm

Certificate fields

Post by veljkopopovi » Tue Dec 14, 2010 1:20 pm

Is there any possibility to delegate access to a VPN server using some fields from certificates other than common name or it is the one and only possibility which replaces username?

Best regards....

User avatar
gladiatr72
Forum Team
Posts: 194
Joined: Mon Dec 13, 2010 3:51 pm
Location: Lawrence, KS

Re: Certificate fields

Post by gladiatr72 » Wed Dec 22, 2010 7:32 pm

Hello,

Can you give a little more detail? How are you authenticating now? Unless you're hanging some custom scripts off the user authentication hook, the Subject in the cilent certificate doesn't really come into play except for populating the ipp and status files.

Regards,
Stephen
[..]I used to think it was awful that life was so unfair. [...]Wouldn't it be much worse if life were fair, and all the terrible things that happen to us come because we actually deserve them? -Marcus Cole

veljkopopovi
OpenVpn Newbie
Posts: 2
Joined: Tue Dec 14, 2010 1:17 pm

Re: Certificate fields

Post by veljkopopovi » Thu Dec 23, 2010 12:08 am

Sorry for my late update on this topic and thank you, Stephen, for your time ... I have found out that most of data which I need in custom scripts I can find in %ENV variable (Perl is my scripting language) ... This is good enough for me :D :D

Post Reply