In web interface or Winbox on router B, go to "System" & "Certificates" and import the CA and the client certificate. certificate export-certificate client1 export-passphrase=xxxxxxxx Copy these two files off router A and onto router B, this is easy to do in the web interface or Winbox. certificate set server trusted=yes Now export the CA and the client certificate so they can be copied onto the Mikrotik router for Site B: certificate sign ca=m圜a client1-template name=client1 Set CA and server cert as trusted: certificate sign ca=m圜a server-template name=server certificate sign ca-template ca-crl-host=192.168.88.1 name=m圜a certificate add name=client1-template common-name=client1 Change the common-name to something more descriptive if you want. There are a bunch of tutorials online about how to set up a Mikrotik routerboard as an OpenVPN server this is not one of them, this repository contains information and code samples for configuring a Mikrotik router as a client to connect to your own OpenVPN server hosted elsewhere. certificate add name=server-template common-name=server Generate templates: /certificate add name=ca-template common-name=m圜a key-usage=key-cert-sign,crl-sign
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |