Hi all.
I am facing a problem with HOTSPOT to import SSL.
I bought a SSL certificate and did the download. but when I try to import it to Mikrotik I got the below error message
There’s not much info. I don’t know in what format you have your certificate. And I’m not even sure about all formats supported by RouterOS.
The one that definitely works is simple PEM. It’s readable text format where certficate starts with -----BEGIN CERTIFICATE----- and key with -----BEGIN PRIVATE KEY-----, -----BEGIN RSA PRIVATE KEY----- or -----BEGIN ENCRYPTED PRIVATE KEY----- (possibly also with something similar, I don’t know). Import certificate first and key after that. If you have some other format, it can be converted using e.g. OpenSSL.
Like Sob hinted at, you need to provide the public and private key’s together in one file.
The private key is typically stored wherever you created the CSR. You’ll need to extract it and then combine the public and private certificate into a single file to upload and apply. Depending on which vendor you went with and how you created the private key you may be able to obtain it from the provider directly.
I actually never tried to import both certificate and key as single file in RouterOS, because I always happened to have them separate. But I assume it would work. Just when it’s two files, the order is important, import certificate first and then key.