I am running RouterOS version 6.7. I am not running a website on this server and there is no domain name associated with the IP address. All I'm trying to do is access my Mikrotik RB751 router remotely via the web interface using https.
I found a good tutorial on how to create a private ssl certificate:
http://blog.didierstevens.com/2008/12/3 ... h-openssl/
I was trying to set my RB751 router to act as a secure web server (www-ssl) and discovered that it requires an ssl certificate.
Here's what I did to create the ssl certificate and ssl key on a Linux machine:
Code: Select all
openssl genrsa -out ca.key 4096
openssl req -new -x509 -days 1826 -key ca.key -out ca.crt
openssl genrsa -out ia.key 4096
openssl req -new -key ia.key -out ia.csr
After using a Linux machine to create the ssl certificate, I transferred the files, ca.crt and ca.key to the Mikrotik router via ftp and then I typed the following commands in the terminal window of Winbox:
Code: Select all
/certificate import file-name=ca.crt
passphrase: <your password>
/certificate import file-name=ca.key
passphrase: <your password>
I was unable to find detailed instructions when I searched the Mikrotik forum. That is why I am writing this.
Don James