--- tools/stunnel.cnf.orig 2014-04-09 10:18:10.000000000 +0200 +++ tools/stunnel.cnf 2014-04-09 10:21:28.000000000 +0200 @@ -9,6 +9,7 @@ default_md = sha1 x509_extensions = stunnel_extensions distinguished_name = stunnel_dn +prompt = no [ stunnel_extensions ] nsCertType = server @@ -18,25 +19,7 @@ nsComment = "stunnel self-signed certificate" [ stunnel_dn ] -countryName = Country Name (2 letter code) -countryName_default = PL -countryName_min = 2 -countryName_max = 2 - -stateOrProvinceName = State or Province Name (full name) -stateOrProvinceName_default = Mazovia Province - -localityName = Locality Name (eg, city) -localityName_default = Warsaw - -organizationName = Organization Name (eg, company) -organizationName_default = Stunnel Developers - -organizationalUnitName = Organizational Unit Name (eg, section) -organizationalUnitName_default = Provisional CA - -0.commonName = Common Name (FQDN of your server) -0.commonName_default = localhost +CN = localhost # To create a certificate for more than one name uncomment: # 1.commonName = DNS alias of your server