openssl req \
-newkey rsa:2048 \
-x509 \
-nodes \
-keyout server.key \
-new \
-out server.crt \
-subj /CN=m.dev.shop.hisense.com \
-reqexts SAN \
-extensions SAN \
-config <(cat /System/Library/OpenSSL/openssl.cnf \
<(printf '[SAN]\nsubjectAltName=DNS:m.dev.shop.test.com')) \
-sha256 \
-days 3650
chrome://net-internals/#hsts
server {
listen 80;
listen [::]:80;
listen 443 ssl;
server_name m.dev.shop.test.com;
...
ssl_certificate /Users/martin/MyWorkPlace/test2/dev/server.crt;
ssl_certificate_key /Users/martin/MyWorkPlace/test2/dev/server.key;
}