mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-12 17:14:46 +02:00
982325fc82
and refer to this as well. Suggested by PeGaSuS in https://bugs.unrealircd.org/view.php?id=6610 This also moves extras/tls.cnf to doc/conf/tls/tls.cnf which also gets installed in ~/unrealircd/conf/tls/ (or whatever CONFDIR is) And just to be clear: this means you can run "./unrealircd makecert" without needing to go into BUILDDIR (or even having it at all). At the same time, the generation commands have been modified slightly so two warnings during certificate generation are no longer there.
28 lines
780 B
INI
28 lines
780 B
INI
# create RSA certs - Server
|
|
|
|
[ req ]
|
|
# Note: RSA bits is ignored, as we use ECC now
|
|
default_bits = 2048
|
|
distinguished_name = req_dn
|
|
|
|
[ req_dn ]
|
|
countryName = Country Name
|
|
countryName_default = US
|
|
countryName_min = 2
|
|
countryName_max = 2
|
|
|
|
stateOrProvinceName = State/Province
|
|
stateOrProvinceName_default = New York
|
|
|
|
localityName = Locality Name (eg, city)
|
|
|
|
0.organizationName = Organization Name (eg, company)
|
|
0.organizationName_default = IRC geeks
|
|
|
|
organizationalUnitName = Organizational Unit Name (eg, section)
|
|
organizationalUnitName_default = IRCd
|
|
|
|
0.commonName = Common Name (Full domain of your server)
|
|
1.commonName_value = localhost
|
|
|