1. С использованием самоподписанного сертификата:
:global CertName "Mikrotik SSC";
:global ipAddr "192.168.55.1";
:global TemplateName "ca-template"
/certificate
add name=$TemplateName common-name=$CertName key-usage=key-cert-sign,crl-sign country=RU state=Mocsow organization="MyCompany";
sign $TemplateName ca-crl-host=$ipAddr name=$CertName;
set $CertName trusted=yes;
/ip service
set www-ssl certificate=$CertName disabled=no
set www disabled=yes
:global CertName "Mikrotik SSC";
:global ipAddr "192.168.55.1";
:global TemplateName "ca-template"
/certificate
add name=$TemplateName common-name=$CertName key-usage=key-cert-sign,crl-sign country=RU state=Mocsow organization="MyCompany";
sign $TemplateName ca-crl-host=$ipAddr name=$CertName;
set $CertName trusted=yes;
/ip service
set www-ssl certificate=$CertName disabled=no
set www disabled=yes
Комментариев нет:
Отправить комментарий