Community discussions

MikroTik App
 
vitaly777
newbie
Topic Author
Posts: 39
Joined: Wed Jan 23, 2013 10:35 am
Location: Estonia

Creating certificate for openVPN

Thu Mar 07, 2013 10:01 am

Hello everyone!

I would really appreciate if you could help me.

#CA certificate.
I'm trying to create "self-made" certificate for OpenVPN and little confused with
field CN (common name: ovpnserver.mydomain.com [IMPORTANT])
Can I put my static IP address in this field ?

#Certificate pair for the server.
and what does it mean "When filling CN remember that it must not match on CA and server
certificate otherwise later naming collision will occur." ?

what can I write in CN field ?


I have used this link: http://wiki.mikrotik.com/wiki/Manual:Cr ... rtificates

RouterOS 6.0RC11
CCR1036-12G-4S


Thank you very much!
 
User avatar
jgellis
Member Candidate
Member Candidate
Posts: 139
Joined: Wed May 30, 2007 10:57 am
Location: USA

Re: Creating certificate for openVPN

Thu Mar 07, 2013 11:41 am

The following should work for you...

When creating ca.key, the CN could be: <domain.tld>
When creating server.key, the CN *should* be: <IP of server>
When creating client.key, the CN could be: client.<domain.tld>

With the exception of the server.key being the IP address, the other two can really be anything unique such as FQDN, NETBIOS name, or just your name/anything (other than the IP).
 
vitaly777
newbie
Topic Author
Posts: 39
Joined: Wed Jan 23, 2013 10:35 am
Location: Estonia

Re: Creating certificate for openVPN

Fri Mar 08, 2013 10:08 am

When creating ca.key, the CN could be: <domain.tld>
When creating server.key, the CN *should* be: <IP of server>
When creating client.key, the CN could be: client.<domain.tld>
.......
It works!

Thank you.

Who is online

Users browsing this forum: biki73, dervomsee, GoogleOther [Bot] and 114 guests