Community discussions

MikroTik App
 
User avatar
SpongeB0B
newbie
Topic Author
Posts: 39
Joined: Wed May 29, 2019 10:18 am

where find a good tutorial for the certificates

Wed May 29, 2019 1:31 pm

Hi everyone,

I would like to enable the service www-ssl but to do so I need to generated a self sign certificate. how can I do that ?

Thank you.
 
Sob
Forum Guru
Forum Guru
Posts: 9188
Joined: Mon Apr 20, 2009 9:11 pm

Re: where find a good tutorial for the certificates

Thu May 30, 2019 12:28 am

Generating certificates in RouterOS is not something I use often, but this seems to work (there are more possible parameters than this, see manual):
/certificate add common-name="test.example.net" subject-alt-name=DNS:test.example.net,IP:192.168.80.181 days-valid=3650 name="self-signed test"
/certificate sign "self-signed test"