Software

[iis] Creare un certificato wildcard autofirmato per IIS con OpenSSL

Creare la chiave privata per la CA
openssl genrsa -des3 -out CAPrivate.key 2048

Creare il root certificate per la CA
openssl req -x509 -new -nodes -key CAPrivate.key -sha256 -days 365 -out CAPrivate.pem

Creare una chiave privata
openssl genrsa -out MyPrivate.key 2048

Generare la richiesta CSR
openssl req -new -key MyPrivate.key -extensions v3_ca -out MyRequest.csr

Creare un file di configurazione per specificare il campo subjectAltName
Creare un file di configurazioni chiamato openssl.ss.cnf con il seguente contenuto:

basicConstraints=CA:FALSE
subjectAltName=DNS:*.mydomain.tld
extendedKeyUsage=serverAuth

E’ possibile specificare più subjectAltName:

subjectAltName=DNS.1:*.mydomain1.tld,DNS.2:*.mydomain2.tld
Generare il certificato usando il CSR (days indica la validità in giorni)
openssl x509 -req -in MyRequest.csr -CA CAPrivate.pem -CAkey CAPrivate.key -CAcreateserial -extfile openssl.ss.cnf -out MyCert.crt -days 365 -sha256

Esportare il certificato nel formato IIS pfx

openssl pkcs12 -export -out MyCert.pfx -inkey MyPrivate.key -in MyCert.crt

Installare il certificato in IIS

Installare il certificato della CA root nell’archivio autorità di certificazione attendibile

Copiare il file CAPrivate.crt rinominandolo CAPrivate.pem e quindi importarlo nell’Archivio autorità di certificazione attendibile.

Link all’articolo originale: https://www.brainbytez.nl/tutorials/linux-tutorials/create-a-self-signed-wildcard-ssl-certificate-openssl/

08/01/2026 IIS Uncategorized

[proxmox] Migrazione di una VM da un host ad un altro

Gennaio 2026
L M M G V S D
 1234
567891011
12131415161718
19202122232425
262728293031  
« Set    

Categorie

  • Access
  • Asp
  • Cyberoam
  • Dell
  • ESX / vmWare
  • Exchange
  • Exchange 2007
  • How-To
  • IIS
  • iPhone
  • Linux
  • Mac
  • Office 365
  • Outlook
  • plesk
  • Promox
  • Sophos XG
  • SQL Server
  • TeamSystem
  • Tips
  • Trend Micro
  • Uncategorized
  • Vb.NET
  • VB6
  • Windows 10
  • Windows 7
  • Windows SBS
  • Windows Server
  • Windows Vista
  • Windows XP
  • WSUS

How-To

  • Configure SMTP O365 Migration Using TLS 1.2 For SQL Database Mail
  • Debian anti-spam and anti-virus e-mail gateway
  • How to install Small Business Server 2003 in an existing Active Directory domain
  • Sophos XG Firewall and Firebox Branch Office VPN Integration Guide
  • Squid, SquidGard, NTLM Authentication con Samba 3.x su Debian Sarge
  • Troubleshoot high-CPU-usage issues in SQL Server

Utili

  • Chip Grafici per portatili – Benchmark
  • Il blog su Microsoft Access
  • Processori per portatili – Benchmark
  • Sophos Wireless: Wi-Fi Fundamentals
  • Zentyal – Linux Small Business Server

Meta

  • Accedi
  • Feed dei contenuti
  • Feed dei commenti
  • WordPress.org
Proudly powered by WordPress | Theme: Neblue by NEThemes.