root@mfw005:/var/etc/openvpn # lltotal 40-rw------- 1 root wheel 1757 Aug 20 00:52 server1.ca-rw------- 1 root wheel 1862 Aug 20 00:52 server1.cert-rw------- 1 root wheel 1352 Aug 20 00:52 server1.conf-rw------- 1 root wheel 1432 Aug 20 00:52 server1.crl-verify-rw------- 1 root wheel 1704 Aug 20 00:52 server1.keysrwxrwxrwx 1 root wheel 0 Aug 20 00:52 server1.sock=
2022-08-20T00:52:17 Warning openvpn Could not determine IPv4/IPv6 protocol. Using AF_INET6 2022-08-20T00:52:16 Warning openvpn CRL: cannot read CRL from file /var/etc/openvpn/server1.crl-verify 2022-08-20T00:52:16 Warning openvpn OpenSSL: error:0909006C:PEM routines:get_name:no start line 2022-08-20T00:52:16 Warning openvpn NOTE: the current --script-security setting may allow this configuration to call user-defined scripts 2022-08-20T00:52:16 Warning openvpn NOTE: your local LAN uses the extremely common subnet address 192.168.0.x or 192.168.1.x. Be aware that this might create routing conflicts if you connect to the VPN server from public locations such as internet cafes that use the same subnet. 2022-08-20T00:52:15 Warning openvpn DEPRECATED OPTION: --cipher set to 'AES-256-CBC' but missing in --data-ciphers (AES-256-GCM:AES-128-GCM). Future OpenVPN version will ignore --cipher for cipher negotiations. Add 'AES-256-CBC' to --data-ciphers or change --cipher 'AES-256-CBC' to --data-ciphers-fallback 'AES-256-CBC' to silence this warning. 2022-08-20T00:52:15 Warning openvpn WARNING: --topology net30 support for server configs with IPv4 pools will be removed in a future release. Please migrate to --topology subnet as soon as possible. 2022-08-20T00:52:15 Warning openvpn WARNING: Compression for receiving enabled. Compression has been used in the past to break encryption. Sent packets are not compressed unless "allow-compression yes" is also set.
2022-08-20T00:47:28 Error openvpn 192.168.***.***:43982 Fatal TLS error (check_tls_errors_co), restarting 2022-08-20T00:47:28 Error openvpn 192.168.***.***:43982 TLS Error: TLS handshake failed 2022-08-20T00:47:28 Error openvpn 192.168.***.***:43982 TLS Error: TLS object -> incoming plaintext read error 2022-08-20T00:47:28 Error openvpn 192.168.***.***:43982 TLS_ERROR: BIO read tls_read_plaintext error 2022-08-20T00:47:28 Error openvpn 192.168.***.***:43982 OpenSSL: error:1417C086:SSL routines:tls_process_client_certificate:certificate verify failed 2022-08-20T00:47:28 Error openvpn 192.168.***.***:43982 VERIFY ERROR: CRL not loaded 2022-08-20T00:47:21 Error openvpn fdf0:***:e554 Fatal TLS error (check_tls_errors_co), restarting 2022-08-20T00:47:21 Error openvpn fdf0:***:e554 TLS Error: TLS handshake failed 2022-08-20T00:47:21 Error openvpn fdf0:***:e554 TLS Error: TLS object -> incoming plaintext read error 2022-08-20T00:47:21 Error openvpn fdf0:***:e554 TLS_ERROR: BIO read tls_read_plaintext error 2022-08-20T00:47:21 Error openvpn fdf0:***:e554 OpenSSL: error:1417C086:SSL routines:tls_process_client_certificate:certificate verify failed 2022-08-20T00:47:21 Error openvpn fdf0:***:e554 VERIFY ERROR: CRL not loaded
opnsense-patch 3c53058
Certificate: Data: Version: 3 (0x2) Serial Number: ... Signature Algorithm: sha256WithRSAEncryption Issuer: C = DE, ... Validity Not Before: Jan 26 22:43:06 2015 GMT Not After : Jan 23 22:43:06 2025 GMT Subject: C = DE, ... Subject Public Key Info: Public Key Algorithm: rsaEncryption RSA Public-Key: (2048 bit) Modulus: ... Exponent: ... X509v3 extensions: X509v3 Subject Key Identifier: ... X509v3 Authority Key Identifier: keyid: ... DirName:/C=DE ... serial: ... X509v3 Basic Constraints: CA:TRUE Signature Algorithm: sha256WithRSAEncryption ...-----BEGIN CERTIFICATE-----...-----END CERTIFICATE-----
Certificate: Data: Version: 3 (0x2) Serial Number: 57 (0x39) Signature Algorithm: sha256WithRSAEncryption Issuer: C = DE, ... Validity Not Before: Mar 11 22:27:48 2022 GMT Not After : Mar 8 22:27:48 2032 GMT Subject: C = DE, ... CN = CA-mfw005, ... Subject Public Key Info: Public Key Algorithm: rsaEncryption RSA Public-Key: (2048 bit) Modulus: ... Exponent: ... X509v3 extensions: X509v3 Subject Key Identifier: ... X509v3 Authority Key Identifier: keyid: ... DirName:/C=DE ... serial: ... X509v3 Basic Constraints: CA:TRUE Signature Algorithm: sha256WithRSAEncryption ... -----BEGIN CERTIFICATE-----...-----END CERTIFICATE-----
Certificate Revocation List (CRL): Version 1 (0x0) Signature Algorithm: sha256WithRSAEncryption Issuer: C = DE, ... Last Update: Aug 14 04:47:01 2022 GMT Next Update: Sep 13 04:47:01 2022 GMTRevoked Certificates: Serial Number: 04 Revocation Date: Oct 12 16:16:58 2017 GMT Serial Number: 06 Revocation Date: Dec 23 11:40:31 2017 GMT Serial Number: 08 Revocation Date: Dec 5 21:43:35 2018 GMT Serial Number: 09 Revocation Date: Oct 21 21:37:37 2020 GMT Serial Number: 0F Revocation Date: Oct 21 21:38:18 2020 GMT Serial Number: 10 Revocation Date: Oct 21 21:38:32 2020 GMT Serial Number: 11 Revocation Date: Oct 21 21:38:59 2020 GMT Serial Number: 13 Revocation Date: Oct 21 21:39:17 2020 GMT Serial Number: 21 Revocation Date: Mar 13 23:20:18 2018 GMT Serial Number: 27 Revocation Date: Oct 21 21:42:07 2020 GMT Serial Number: 2D Revocation Date: Jan 1 17:45:14 2019 GMT Serial Number: 38 Revocation Date: Feb 21 15:29:12 2022 GMT Signature Algorithm: sha256WithRSAEncryption ...
The CRL is created on the other system automatically using the CA key (not the intermediate CA) and pushed wherever it's needed.
...and pushed wherever it's needed
-----BEGIN X509 CRL-----MIIC4jCCAcowDQYJKoZIhvcNAQELBQAwgacxCzAJBgNVBAYTAkRFMQswCQYDVQQI...sZ65cxZXWgrR1nHzXCta2wkxZOP1Lg==-----END X509 CRL-----
TUlJQzRqQ0NBY293RFFZSktvWklodmNOQVFFTEJRQXdnYWN4Q3pBSkJnTlZCQVlUQWtSRk1Rc3dDUVlEVlFRSQ0KRXd...XZ3JSMW5IelhDdGEyd2t4Wk9QMUxnPT0NCi0tLS0tRU5EIFg1MDkgQ1JMLS0tLS0NCg==
root@mfw005:/var/etc/openvpn # openssl crl -inform PEM -text -noout -in server1.crl-verifyunable to load CRL34389172224:error:0909006C:PEM routines:get_name:no start line:/usr/src/crypto/openssl/crypto/pem/pem_lib.c:745:Expecting: X509 CRL
LS0tLS1CRUdJTiBYNTA5IENSTC0tLS0tDQpNSUlDNGpDQ0Fjb3dEUVlKS29aSWh2Y05BUUVMQlFBd2dhY3hDekFKQm....jY1Y3haWFdnclIxbkh6WEN0YTJ3a3haT1AxTGc9PQ0KLS0tLS1FTkQgWDUwOSBDUkwtLS0tLQ0K