M
M
Mark Ivanych2014-09-16 12:08:22
Mikrotik
Mark Ivanych, 2014-09-16 12:08:22

Why doesn't https work in mikrotik?

Good afternoon, tell me what the problem is:
There is a working hotspot, it perfectly redirects all http requests to a remote authorization page.
But just go to https as in the browser the inscription "ssl connection error"
In IP -> Services www-ssl is enabled

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2014-09-16
@bk0011m

Do you have a certificate? SSL certificate is required

M
Mark Ivanych, 2014-09-16
@iormark

It turns out that IP-> Services has nothing to do with the hotspot, everything is configured in the hotspot itself.
And here I do the certificate so, but a fig does not work.

openssl genrsa -des3 -out mydomen.ru.key 1024
openssl req -new -key mydomen.ru.key -out mydomen.ru.csr
openssl x509 -req -days 365 -in mydomen.ru.csr -signkey mydomen.ru.key -out mydomen.ru.crt

[admin1@MikroTik] > /certificate import file-name=mydomen.ru.crt
passphrase: *****
     certificates-imported: 1
     private-keys-imported: 0
            files-imported: 1
       decryption-failures: 0
  keys-with-no-certificate: 0

[admin1@MikroTik] > /certificate import file-name=mydomen.ru.key
passphrase: *****
     certificates-imported: 0
     private-keys-imported: 1
            files-imported: 1
       decryption-failures: 0
  keys-with-no-certificate: 0

[admin1@MikroTik] > /certificate print
Flags: K - private-key, D - dsa, L - crl, C - smart-card-key, A - authority, I - issued, R - revoked, E - expired, T - trusted 
 #         NAME                       COMMON-NAME                      SUBJECT-ALT-NAME                                                   FINGERPRINT                     
 0 K     T cert_1                     mydomen.ru                                                                                           c6e7836a4b39fe267c4465957f57f...

89c0b6dbfb19490195efb2d8f2e07ca5.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question