Hello, I have looking into the forums and couldn’t find an aswer. I want to enable https on webfig. I uploaded a cert and a key to my router and enabled www-ssl
Basically (once files were in place) I just did..
/certificate import file-name=cert_ge.crt
/certificate import file-name=cert.key
/ip service enable www-ssl
The problem is that if I upload the certificate in CER format (plain text) such as:
-----BEGIN CERTIFICATE-----
MIIDFjCCAf6gAwIBAgIBAjANBgkqhkiG9w0BAQsFADB5MR8wHQYDVQQDDBZkc2ku
...
-----END CERTIFICATE-----
I can see it being imported and it appears in the certificate store, but I can’t acces to the https url for the router.
But if I use the certificate in DER format (binary), it just works.
It’s weird because I am always uploading the key in plain
-----BEGIN PRIVATE KEY-----
MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAOQ/mRBjjnZPr+Ds
....
-----END PRIVATE KEY-----
Does anyone have an explanation for this? I’d rather upload the files in CER format because it’s more convenient for me
UPDATE: Both type of certs are fine, the issue was related on not choosing the proper one for the https connection, see the post at the end for the full explanation