Answer the question
In order to leave comments, you need to log in
How to add root selfsigned certificate in linux mint?
There is a servers.domain.local server (Windows Server IIS), a selfsigned certificate has been issued to it via powershell
New-SelfSignedCertificate -Subject "servers.domain.local" -TextExtension @("2.5.29.17={text}DNS=servers.domain.local&IPAddress=192.168.1.4&IPAddress=::1")
Answer the question
In order to leave comments, you need to log in
So, I solved the issue by issuing a new certificate with a CA and alternative server names (needed for chrome)
Create a root certificate
openssl ecparam -out ca.key -name prime256v1 -genkey
openssl req -new -sha256 -key ca.key -out ca.csr
openssl x509 -req -sha256 -days 365 -in ca.csr -signkey ca.key -out ca.crt
openssl genrsa -out server.key 4096
openssl req -new -key server.key -out server.csr -config san.cnf
openssl x509 -req -days 365 -in server.csr -CA ca.crt -CAkey ca.key -CAcreateserial -out server.crt -extensions req_ext -extfile san.cnf
[req]
distinguished_name = req_distinguished_name
req_extensions = req_ext
prompt = no
[req_distinguished_name]
C = RU
ST = Russia
L = Moscow
O = ORG
OU = ORG
CN = server.domain.local
[req_ext]
subjectAltName = @alt_names
[alt_names]
IP.1 = 192.168.1.4
DNS.1 = server.domain.local
openssl pkcs12 -export -out server.pfx -inkey server.key -in server.crt
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question