Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have an OpenVPN setup and my clients authenticate with my server using the keys I've generated through pkitool.

The problem is that the clients can share the keys with others and effectively allow many others to connect through my VPN. How can I impose a restriction that a client key can only be used for one connection at a time?

Thanks.

share|improve this question

1 Answer 1

up vote 4 down vote accepted

you should check for the directive "duplicate-cn" in server.conf configuration file. Make sure it's NOT uncommented.

share|improve this answer
    
Thanks but I tried that and I can still login with the same key from two clients simultaneously. –  recluze Feb 10 '11 at 8:56
    
Oh, got it. The wording was a little convoluted but it works. Thanks. –  recluze Feb 23 '11 at 3:28

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.