diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2019-10-06 05:53:11 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2019-10-06 05:53:11 +0200 |
commit | b794f84da1aaf446a3965f9b9363f997b3183872 (patch) | |
tree | d59f80c7587b8748b79cdeecfb112892e7ccf083 /certs | |
download | iperouter-b794f84da1aaf446a3965f9b9363f997b3183872.tar.gz iperouter-b794f84da1aaf446a3965f9b9363f997b3183872.tar.bz2 iperouter-b794f84da1aaf446a3965f9b9363f997b3183872.tar.xz iperouter-b794f84da1aaf446a3965f9b9363f997b3183872.zip |
Initial configuration
Diffstat (limited to 'certs')
-rw-r--r-- | certs/localhost.conf | 31 | ||||
-rw-r--r-- | certs/localhost.crt | 21 | ||||
-rw-r--r-- | certs/localhost.key | 28 |
3 files changed, 80 insertions, 0 deletions
diff --git a/certs/localhost.conf b/certs/localhost.conf new file mode 100644 index 0000000..02cfc8b --- /dev/null +++ b/certs/localhost.conf @@ -0,0 +1,31 @@ +[req] +default_bits = 2048 +default_keyfile = localhost.key +distinguished_name = req_distinguished_name +req_extensions = req_ext +x509_extensions = v3_ca + +[req_distinguished_name] +countryName = Country Name (2 letter code) +countryName_default = DE +stateOrProvinceName = State or Province Name (full name) +stateOrProvinceName_default = BW +localityName = Locality Name (eg, city) +localityName_default = Karlsruhe +organizationName = Organization Name (eg, company) +organizationName_default = IPE +organizationalUnitName = organizationalunit +organizationalUnitName_default = PDV +commonName = Common Name (e.g. server FQDN or YOUR name) +commonName_default = localhost +commonName_max = 64 + +[req_ext] +subjectAltName = @alt_names + +[v3_ca] +subjectAltName = @alt_names + +[alt_names] +DNS.1 = localhost +DNS.2 = 127.0.0.1 diff --git a/certs/localhost.crt b/certs/localhost.crt new file mode 100644 index 0000000..ff270fa --- /dev/null +++ b/certs/localhost.crt @@ -0,0 +1,21 @@ +-----BEGIN CERTIFICATE----- +MIIDbTCCAlWgAwIBAgIUbqaoozb4QT+MA8Qzs8wZ74dSdkgwDQ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VjNQRBSNnFfFGhqyk8F4alMS+kiE2XCBTLDy8BDyi +TyJcBAZNfOqxKThbBVLghj4= +-----END CERTIFICATE----- diff --git a/certs/localhost.key b/certs/localhost.key new file mode 100644 index 0000000..c3fb6b2 --- /dev/null +++ b/certs/localhost.key @@ -0,0 +1,28 @@ +-----BEGIN PRIVATE KEY----- +MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQC5hmiXY08gtyAb +ATdWLY6RBt4cTHfjLyJ/RtU82Sjo7mlERzr8phrzNOLV0Ziqq0i/bUpPhtVfdTpv +R6n0kfp4OpqmvUweLyWHtv3lEv+HYPjOAcDVH42MZgcw4Ob1Nd/PK1L0xDB3UVhP +fJA6pHw1AXyAX69VOgSe8KFZJUmKvwmMlekK1UtMErTzMe1KUFzJ6QcToPIMDBv9 +I8iyXqymEt9M6NxMVfMofIoqZoJR2InM5E3JOtbydLh3ygae7QiWnxdgQuG/j5SF +3P+N6U+yIWrWBpwIGWM5xdQSXwZe9aYtJjQ0YEttEamr0TuG+4XGltPS7/p91a91 +UqVxWK09AgMBAAECggEAVsyhxqJ59O54oOnSwAkUeJnj9Q150drNowq63XskfsZ8 +jatd17LHTR5jOnKToNX+dUFm0QpebgjkzAeVZo2dx/5zOKu8HysjvflJlJFs6CPg +hFGhrJTUnullV+MBa5xHGCBG8amQm2J9lMLMoAMw8YO+gjlCSPeaDdq7QoAFhlnJ +pAqrPNe4275vHFw6O0vL78zJADPd/RPtNQ3sS4OHEgMxNPghczuAAiCP1Ihdq9YA +X9X9D08EE2b7+lDdMVm5RShFkG8HusO0SMMvh8qrMjfIjr98lEGTL0rEvba6ZYiY +ePCXVSLytpC0DMsI2aY2iBANmbsuUIfPMtorR/STQQKBgQDzucFE7qWs8BJRHvmZ +ejtcUgyEiOrQCTXkWI43xE7hPft4S1SXxBcAHS8L2oy7+JlYNSOUUmwbMwzRV3ll +hMjo+dkk5NYD6yMdbWN3ZJb7AS3/smBsS/nbM6ZTnJ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