OpenVPN with client and server different intermediate certificates

Scripts to manage certificates or generate config files
Post Reply
dcano
OpenVpn Newbie
Posts: 3
Joined: Thu Nov 23, 2017 5:14 pm

OpenVPN with client and server different intermediate certificates

Post by dcano » Thu Nov 23, 2017 5:44 pm

Hello all,

We are trying to configure OpenVPN using official certificates (SwissSign).

By default, one intermediate CA will generate certificates for servers (TLS) and the other one issues only client certificates. This will be something like this:

Code: Select all

                 +-------------------------+
                 | SwissSign Root CA |
                 +-----------+------------+
                                 |
            	   +-----------------+
                      |                 |
      +--------------+        +--------------+
       | Server CA |         | Client CA  |
      +--------------+        +--------------+
                 |                      |
     +------------------+   +-----------------+
      | Server Certs |     | Client Certs  |
     +------------------+   +------------------+
       vpn_cert.pem        client_cert.pem
       vpn_key.pem         client_key.pem

We generate two bundle files, one for the root CA with the Server CA, and another for the root CA with the Client CA and configure the OpenVPN in server side.

We set the configuration in the client side but the client can not authenticate.

So, this seems to be a problem related with the certificate configuration, even if the both intermediate are generated with the same root certificate. If we try with a self-signed certificate CA to generate the server certificate and the client certificate, and with the same configuration, all works perfectly.

Here is the current configuration for the server:

Code: Select all

[oconf=SERVER]
port 1194
proto udp
dev tun0

ca      /etc/openvpn/easy-rsa/keys/swissign_ca.crt    # Contains SwissSign Root CA and SwissSign Server Intermediate CA.
cert    /etc/openvpn/easy-rsa/keys/server_cert.pem # server vpn certificate
key     /etc/openvpn/easy-rsa/keys/server_cert.key  # keep secret
dh      /etc/openvpn/easy-rsa/keys/dh2048.pem

topology subnet
server 10.10.10.0 255.255.255.0  # internal tun0 connection IP
push "route 192.168.1.0 255.255.240.0"
push "route 10.10.10.0 255.255.255.0"
push "redirect-gateway def1 bypass-dhcp"
push "dhcp-option DNS 192.168.1.10"
push "dhcp-option DNS 8.8.8.8"
push "dhcp-option DNS 8.8.4.4"
push "dhcp-option DOMAIN myfakedomain.ch"

ifconfig-pool-persist ipp.txt

script-security 2
up /etc/openvpn/update-resolv-conf
down /etc/openvpn/update-resolv-conf

keepalive 10 120

persist-key
persist-tun
auth-nocache
cipher AES-256-CBC
auth SHA1
engine none

resolv-retry infinite

status log/openvpn-status.log

verb 5  # verbose mode
client-to-client

[/oconf]
The client configuration is the following:

Code: Select all

[oconf=CLIENT]
client
dev tun1
port 1194
proto udp

remote 192.168.1.11 1194             # VPN server IP : PORT
nobind
push "dhcp-options DNS 192.168.1.10"
redirect-gateway def1

ca /home/myuser/myuser.p12         # Contains the full certification chain. 
pkcs12 /home/myuser/myuser.p12 # Contains the full certification chain.

remote-cert-tls server
auth-nocache
cipher AES-256-CBC
auth SHA1
connection-type password-tls
float yes

username myuser
password mypassword

resolv-retry infinite

persist-key
persist-tun

verb 5

nobind
push "dhcp-options DNS 192.168.1.10"
redirect-gateway def1
[/oconf]
Here you can find the Client LOGS:

Code: Select all

Nov 24 13:31:23 mypc NetworkManager[29337]: <info>  [1511526683.3077] audit: op="connection-activate" uuid="967102b3-1563-450b-8879-e0a91334aaf1" name="VPN" pid=29458 uid=10139 result="success"
Nov 24 13:31:23 mypc NetworkManager[29337]: <info>  [1511526683.3174] vpn-connection[0x56019d7543e0,967102b3-1563-450b-8879-e0a91334aaf1,"VPN",0]: Started the VPN service, PID 29746
Nov 24 13:31:23 mypc NetworkManager[29337]: <info>  [1511526683.3358] vpn-connection[0x56019d7543e0,967102b3-1563-450b-8879-e0a91334aaf1,"VPN",0]: Saw the service appear; activating connection
Nov 24 13:31:23 mypc NetworkManager[29337]: <info>  [1511526683.5807] keyfile: update /etc/NetworkManager/system-connections/VPN (967102b3-1563-450b-8879-e0a91334aaf1,"VPN")
Nov 24 13:31:23 mypc NetworkManager[29337]: <info>  [1511526683.6270] vpn-connection[0x56019d7543e0,967102b3-1563-450b-8879-e0a91334aaf1,"VPN",0]: VPN plugin: state changed: starting (3)
Nov 24 13:31:23 mypc NetworkManager[29337]: <info>  [1511526683.6270] vpn-connection[0x56019d7543e0,967102b3-1563-450b-8879-e0a91334aaf1,"VPN",0]: VPN connection: (ConnectInteractive) reply received
Nov 24 13:31:23 mypc nm-openvpn[29752]: OpenVPN 2.4.0 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Jul 18 2017
Nov 24 13:31:23 mypc nm-openvpn[29752]: library versions: OpenSSL 1.0.2l  25 May 2017, LZO 2.08
Nov 24 13:31:23 mypc nm-openvpn[29752]: WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Nov 24 13:31:23 mypc nm-openvpn[29752]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Nov 24 13:31:23 mypc nm-openvpn[29752]: TCP/UDP: Preserving recently used remote address: [AF_INET]192.168.1.10:1194
Nov 24 13:31:23 mypc nm-openvpn[29752]: UDP link local: (not bound)
Nov 24 13:31:23 mypc nm-openvpn[29752]: UDP link remote: [AF_INET]192.168.179.251:1194
Nov 24 13:31:23 mypc nm-openvpn[29752]: NOTE: chroot will be delayed because of --client, --pull, or --up-delay
Nov 24 13:31:23 mypc nm-openvpn[29752]: NOTE: UID/GID downgrade will be delayed because of --client, --pull, or --up-delay
Nov 24 13:32:23 mypc nm-openvpn-serv[29746]: Connect timer expired, disconnecting.
Nov 24 13:32:23 mypc nm-openvpn[29752]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Nov 24 13:32:23 mypc nm-openvpn[29752]: TLS Error: TLS handshake failed
Nov 24 13:32:23 mypc NetworkManager[29337]: <warn>  [1511526743.6041] vpn-connection[0x56019d7543e0,967102b3-1563-450b-8879-e0a91334aaf1,"VPN",0]: VPN connection: connect timeout exceeded.
Nov 24 13:32:23 mypc nm-openvpn[29752]: SIGTERM[hard,tls-error] received, process exiting
Nov 24 13:32:23 mypc NetworkManager[29337]: <warn>  [1511526743.6074] vpn-connection[0x56019d7543e0,967102b3-1563-450b-8879-e0a91334aaf1,"VPN",0]: VPN plugin: failed: connect-failed (1)
Nov 24 13:32:23 mypc NetworkManager[29337]: <info>  [1511526743.6076] vpn-connection[0x56019d7543e0,967102b3-1563-450b-8879-e0a91334aaf1,"VPN",0]: VPN plugin: state changed: stopping (5)
And here the Server LOGS:

Code: Select all

Nov 24 13:32:45 openvpn[11931]: MANAGEMENT: Client disconnected 
Nov 24 13:32:45 openvpn[38615]: I/O WAIT TR|Tw|SR|Sw [10/0] 
Nov 24 13:32:45 openvpn[11931]: MANAGEMENT: CMD 'status 2' 
Nov 24 13:32:45 openvpn[38615]: PO_CTL rwflags=0x0001 ev=6 arg=0x32df844e3f8 
Nov 24 13:32:45 openvpn[38615]: PO_CTL rwflags=0x0001 ev=7 arg=0x32df844e3f4 
Nov 24 13:32:45 openvpn[38615]: PO_CTL rwflags=0x0001 ev=8 arg=0x32df8e9f2b0 
Nov 24 13:32:45 openvpn[11931]: MANAGEMENT: Client connected from /var/etc/openvpn/server3.sock 
Nov 24 13:32:45 openvpn[38615]: SCHEDULE: schedule_find_least NULL 
Nov 24 13:32:45 openvpn[38615]: MANAGEMENT: Client disconnected 
Nov 24 13:32:45 openvpn[38615]: I/O WAIT status=0x0040 
Nov 24 13:32:45 openvpn[38615]: event_wait returned 1 
Nov 24 13:32:45 openvpn[38615]: PO_WAIT[2,0] fd=9 rev=0x00000011 rwflags=0x0001 arg=0x32df844e3f8 
Nov 24 13:32:45 openvpn[38615]: I/O WAIT TR|Tw|SR|Sw [10/0] 
Nov 24 13:32:45 openvpn[38615]: PO_CTL rwflags=0x0001 ev=9 arg=0x32df844e3f8 
Nov 24 13:32:45 openvpn[38615]: PO_CTL rwflags=0x0001 ev=7 arg=0x32df844e3f4 
Nov 24 13:32:45 openvpn[38615]: PO_CTL rwflags=0x0001 ev=8 arg=0x32df8e9f2b0 
Nov 24 13:32:45 openvpn[38615]: SCHEDULE: schedule_find_least NULL 
Nov 24 13:32:45 openvpn[38615]: I/O WAIT status=0x0080 
Nov 24 13:32:45 openvpn[38615]: event_wait returned 1 
Nov 24 13:32:45 openvpn[38615]: PO_WAIT[2,0] fd=9 rev=0x00000004 rwflags=0x0002 arg=0x32df844e3f8 
Nov 24 13:32:45 openvpn[38615]: I/O WAIT TR|Tw|SR|Sw [10/0] 
Nov 24 13:32:45 openvpn[38615]: PO_CTL rwflags=0x0002 ev=9 arg=0x32df844e3f8 
Nov 24 13:32:45 openvpn[38615]: PO_CTL rwflags=0x0001 ev=7 arg=0x32df844e3f4 
Nov 24 13:32:45 openvpn[38615]: PO_CTL rwflags=0x0001 ev=8 arg=0x32df8e9f2b0 
Nov 24 13:32:45 openvpn[38615]: SCHEDULE: schedule_find_least NULL 
Nov 24 13:32:45 openvpn[38615]: MANAGEMENT: CMD 'status 2' 
Nov 24 13:32:45 openvpn[38615]: I/O WAIT status=0x0040 
Nov 24 13:32:45 openvpn[38615]: event_wait returned 1 
Nov 24 13:32:45 openvpn[38615]: PO_WAIT[2,0] fd=9 rev=0x00000001 rwflags=0x0001 arg=0x32df844e3f8
Nov 24 13:32:45 openvpn[38615]: I/O WAIT TR|Tw|SR|Sw [10/0] 
Nov 24 13:32:45 openvpn[38615]: PO_CTL rwflags=0x0001 ev=9 arg=0x32df844e3f8 
Nov 24 13:32:45 openvpn[38615]: PO_CTL rwflags=0x0001 ev=7 arg=0x32df844e3f4 
Nov 24 13:32:45 openvpn[38615]: PO_CTL rwflags=0x0001 ev=8 arg=0x32df8e9f2b0 
Nov 24 13:32:45 openvpn[38615]: SCHEDULE: schedule_find_least NULL 
Nov 24 13:32:45 openvpn[38615]: I/O WAIT status=0x0080 
Nov 24 13:32:45 openvpn[38615]: event_wait returned 1 
Nov 24 13:32:45 openvpn[38615]: PO_WAIT[2,0] fd=9 rev=0x00000004 rwflags=0x0002 arg=0x32df844e3f8 
Nov 24 13:32:45 openvpn[38615]: I/O WAIT TR|Tw|SR|Sw [10/0] 
Nov 24 13:32:45 openvpn[38615]: PO_CTL rwflags=0x0002 ev=9 arg=0x32df844e3f8 
Nov 24 13:32:45 openvpn[38615]: PO_CTL rwflags=0x0001 ev=7 arg=0x32df844e3f4 
Nov 24 13:32:45 openvpn[38615]: PO_CTL rwflags=0x0001 ev=8 arg=0x32df8e9f2b0 
Nov 24 13:32:45 openvpn[38615]: SCHEDULE: schedule_find_least NULL 
Nov 24 13:32:45 openvpn[38615]: MANAGEMENT: Client connected from /var/etc/openvpn/server1.sock 
Nov 24 13:32:45 openvpn[38615]: MULTI: REAP range 32 -> 48 
Nov 24 13:32:45 openvpn[38615]: I/O WAIT status=0x0040 
Nov 24 13:32:45 openvpn[38615]: event_wait returned 1 
Nov 24 13:32:45 openvpn[38615]: PO_WAIT[2,0] fd=6 rev=0x00000001 rwflags=0x0001 arg=0x32df844e3f8

Could someone give us a hint about this? Do you know if it is possible to use 2 different intermediates for clients and the server certificate?

Thanks a lot in advance.
Last edited by dcano on Fri Nov 24, 2017 12:43 pm, edited 1 time in total.

User avatar
Pippin
OpenVPN Expert
Posts: 427
Joined: Wed Jul 01, 2015 8:03 am

Re: OpenVPN with client and server different intermediate certificates

Post by Pippin » Thu Nov 23, 2017 6:11 pm

More info needed:
viewtopic.php?f=30&t=22603

At least how the keys/certs lines are configured for server and client.
Also server log at verb 4.
So, this seems to be a problem related with the certificate configuration
A failed handshake can have more causes, closed port, firewall, missing tls-auth or tls-crypt key, DPI.....but we don`t know ;)

remd
OpenVpn Newbie
Posts: 1
Joined: Fri Nov 24, 2017 10:12 am

Re: OpenVPN with client and server different intermediate certificates

Post by remd » Fri Nov 24, 2017 10:16 am

Thanks for the reply dcano will post some more info, but just to reply to your last comment, everything works fine with a self signed CA and certificate (using the same int CA for the server and user cert) but not with the SwissSign certificates, so we should be able to rule out issues like firewall rules.

TiTex
OpenVPN Expert
Posts: 271
Joined: Tue Apr 12, 2011 6:22 am

Re: OpenVPN with client and server different intermediate certificates

Post by TiTex » Sat Nov 25, 2017 7:59 am

Code: Select all

ca      /etc/openvpn/easy-rsa/keys/swissign_ca.crt    # Contains SwissSign Root CA and SwissSign Server Intermediate CA.
this should contain the clients intermediate CA , since the server verify the client has the right cert based on it's (server) CA's
"SwissSign Server Intermediate CA" - is it an actual intermediate CA , or just a certificate issued by SwissSign ? :D

dcano
OpenVpn Newbie
Posts: 3
Joined: Thu Nov 23, 2017 5:14 pm

Re: OpenVPN with client and server different intermediate certificates

Post by dcano » Mon Nov 27, 2017 9:40 am

Hello!

Thanks for your quick answer.

Indeed, in the file swissign_ca.crt is included the Intermediate CA. We tried these different options:
  • 1. In the swissign_ca.crt file, include the SwissSign Root CA, and the SwissSign Server Intermediate certificate.
    2. In the swissign_ca.crt file, include the SwissSign Root CA, and the SwissSign Client Intermediate certificate.
    3. In the swissign_ca.crt file, include the SwissSign Root CA, the SwissSign Server Intermediate certificate and the SwissSign Client Intermediate certificate.
    4. In the swissign_ca.crt file, include only the SwissSign Root CA.
None of the previous options worked out.

Other test we did, were related with the VPN server certificate. So every time we were doing any test or change in the CA certificate (previous list), we were trying the following with the VPN server certificate:

Code: Select all

cert    /etc/openvpn/easy-rsa/keys/server_cert.pem # server vpn certificate
  • 1. In the server_cert.pem file, include the SwissSign Server Intermediate certificate.
    2. In the server_cert.pem file, include the SwissSign Server Intermediate certificate and the SwissSign Client intermediate certificate.
None of the previous options worked out.


All the certificates we are using for the configuration are official certificates generated by SwissSign, even for the clients. So, indeed, the "SwissSign Server Intermediate CA" certificate is a certificate issued by SwissSign, in this case signed and generated by the SwissSign Root CA.

Thanks again for your answer.
Cheers

TiTex
OpenVPN Expert
Posts: 271
Joined: Tue Apr 12, 2011 6:22 am

Re: OpenVPN with client and server different intermediate certificates

Post by TiTex » Mon Nov 27, 2017 7:29 pm

dcano wrote:
Mon Nov 27, 2017 9:40 am
All the certificates we are using for the configuration are official certificates generated by SwissSign, even for the clients. So, indeed, the "SwissSign Server Intermediate CA" certificate is a certificate issued by SwissSign, in this case signed and generated by the SwissSign Root CA.

Thanks again for your answer.
Cheers
just because a cert was issued by a public CA , doesn't make your cert an Intermediate CA so unless you can confirm that you have an actual intermediate CA, your setup is flaw

i actually think you have a server cert and some client certs issued by a SwissSign CA , usually not the Root CA but an intermediate which are listed here
if turns out that i'm right , your swissign_ca.crt should contain on server and client the same chain , this order from top to bottom
(on linux you can create this chain like so: cat swiss_intermediat.crt swiss_root.crt > swissing_ca.crt)
SwissSign Intermediate CA - in pem format
SwissSign Root Ca - in pem format

server_cert.pem
should contain your issued cert only in pem format

server_cert.key
should contain your private key in pem format



or you can just create pkcs12 store and use that , see the openvpn manual for --pkcs12 option

dcano
OpenVpn Newbie
Posts: 3
Joined: Thu Nov 23, 2017 5:14 pm

Re: OpenVPN with client and server different intermediate certificates

Post by dcano » Tue Nov 28, 2017 2:12 pm

Hello,

Thanks a lot for your answer.

We are using an Intermediate certificate. From the link you mentioned we are using the following certificates (we even checked the Serial Number of each certificate):

Root certificate:
SSL Silver, SSL Silver Wildcard, Personal Silver ID: Silver_G2.pem -> The certificate used as root certificate

Intermediate certificate:
SSL Silver, SSL Silver Wildcard: Server_Silver_G22_2014.pem -> Generated by SSL Silver, SSL Silver Wildcard, Personal Silver ID: Silver_G2.pem
E-Mail ID Silver: Personal_Silver_G22_2014.pem -> Generated by SSL Silver, SSL Silver Wildcard, Personal Silver ID: Silver_G2.pem

Server certificate:
vpn.mydomain.ch: Generated by -> SSL Silver, SSL Silver Wildcard: Server_Silver_G22_2014.pem

Client certificate:
myuserclient @ mydomain. ch: Generated by -> E-Mail ID Silver: Personal_Silver_G22_2014.pem

As you mention, in the parameter for the CA certificate we try with the following:
1. cat swiss_Server_silver_G22_intermediate.crt swiss_Silver_G2_root.crt > swissing_ca.crt.
2. cat swiss_Personal_silver_G22_intermediate.crt swiss_Silver_G2_root.crt > swissing_ca.crt.
3. Even the three certificates all together in the order you mention, intermediates and then the root CA.

None of the previous 3 options worked out and always we were having the error related with the TLS handshake that means it is not possible to verify that the certificate was generated by the CA.

In the field for server we enter always the vpn.mydomain.ch.pem certificate. We verify multiple times that it is the right certificate, key and certificate match and we provide as well the key of the certificate.

But it does not work... and I guess is because the client certificate was generated by a Intermediate CA different of the server certificate.

Thanks again for your help.

TiTex
OpenVPN Expert
Posts: 271
Joined: Tue Apr 12, 2011 6:22 am

Re: OpenVPN with client and server different intermediate certificates

Post by TiTex » Tue Nov 28, 2017 6:24 pm

can you check if your client certs has this EKU (extended key usage) ?
TLS Web Client Authentication (1.3.6.1.5.5.7.3.2)

openssl x509 -in client_cert.pem -noout -purpose - this should display "SSL client : Yes"
or
openssl x509 -in client_cert.pem -noout -text - and check the "X509v3 extensions:" section

i'm not sure if openvpn client would work without having TLS Web Client Authentication (1.3.6.1.5.5.7.3.2) extension set on the cert , personally i haven't tested ... maybe somebody has tested with s/mime certs for example on the clients, although i guess Personal_silver_G22_intermediate.crt should issue a cert for client with both S/MIME and TLS Web Client Authentication usage.

1. cat swiss_Server_silver_G22_intermediate.crt swiss_Silver_G2_root.crt > swissing_ca.crt - this should be on the client
2. cat swiss_Personal_silver_G22_intermediate.crt swiss_Silver_G2_root.crt > swissing_ca.crt - this should be on the server

remember that the certs/keys hould be in PEM frormat

TiTex
OpenVPN Expert
Posts: 271
Joined: Tue Apr 12, 2011 6:22 am

Re: OpenVPN with client and server different intermediate certificates

Post by TiTex » Tue Nov 28, 2017 8:21 pm

I just tested with
Root CA -> Intermediate1 CA -> server cert
Root CA -> Intermediate2 CA -> client cert

ca.crt on server contains Intermediate2 CA & Root CA (cat inter2.crt root.crt > ca.crt)
ca.crt on client contains Intermediate1 CA & Root CA (cat inter1.crt root.crt > ca.crt)

and works as expected, i'll post my configs below if you want to mess with it.

SERVER CONF

server.conf
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh2048.pem
topology subnet
server 10.10.10.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
persist-key
persist-tun
auth-nocache
cipher AES-256-CBC
auth SHA1
resolv-retry infinite
status openvpn-status.log
log-append server.log
verb 3
client-to-client


ca.crt

Code: Select all

-----BEGIN CERTIFICATE-----
MIIFrDCCA5SgAwIBAgICEAEwDQYJKoZIhvcNAQELBQAwajELMAkG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0zrG+AcB0DtkgUSiEgGHU2yi0oyE4p/og==
-----END RSA PRIVATE KEY-----
dh2048.pem

Code: Select all

-----BEGIN DH PARAMETERS-----
MIIBCAKCAQEAwcSUocP5GkOTgqhH+jURx3w7ET9ebgDm/CS17h9hXRymzH+oQQMn
QMpD2SaNcsOTjb9QHFaPMJ1zvSQ6FFRjfGs+Gk0nUge+OJnxxgzEBV9OIbVticcw
A6y9RCQPJzcEVRIKx7RK58PGQolXQwnHzFWJ7cM+5b2ly8x1Mcyokx6ZjEw6rmcd
csqSSmjXAx/A7D8c9r15j8YKXKlcXcMX/nbWmf0faRKSWTlZDpvjR7Mw/DocTBT0
NcbWR1pCJsPFgWQAun/EdBfKdW7LdYcE8G+Nr6pUxnbFXXCUwIlIw+BT8F9eFOBt
sQCnetdtNJMUSaFk23Wg5hu5wELkBdZOEwIBAg==
-----END DH PARAMETERS-----
--------------------------------------------------------------------------------------------------------

CLIENT CONF

I used inline configs here for certificates

client.ovpn
client
dev tun
proto udp
remote 192.168.88.10 1194 # VPN server IP : PORT
nobind
remote-cert-tls server
cipher AES-256-CBC
auth SHA1
resolv-retry infinite
persist-key
persist-tun
verb 3

<ca>
</ca>
<cert>
</cert>
<key>
</key>



ca

Code: Select all

-----BEGIN CERTIFICATE-----
MIIFrDCCA5SgAwIBAgICEAAwDQYJKoZIhvcNAQELBQAwajELMAkGA1UEBhMCUk8x
DTALBgNVBAgMBENsdWoxFDASBgNVBAcMC0NsdWotTmFwb2NhMQ4wDAYDVQQKDAVN
eU9yZzERMA8GA1UECwwITXlPcmcgSVQxEzARBgNVBAMMCk15IFJvb3QgQ0EwHhcN
MTcxMTI4MTg1NjI2WhcNMjcxMTI2MTg1NjI2WjBgMQswCQYDVQQGEwJSTzENMAsG
A1UECAwEQ2x1ajEOMAwGA1UECgwFTXlPcmcxETAPBgNVBAsMCE15T3JnIElUMR8w
HQYDVQQDDBZNeU9yZyBJbnRlcm1lZGlhdGUxIENBMIICIjANBgkqhkiG9w0BAQ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MJ4FcUcfB1
R3R8Mcl5kTXjPEVcYOBJyxlx943SjFf5pTv/e2kvdKb/seB2F7fAZpMKn6V/Wzqo
co6+RLLMVm6Wka8gXpmZKXuEDon42mTNV0PqeV8CgYEAqhxcETz/2YdBujITGINJ
U6PF7fqzJseCkzNzBXNZQDBJeVBUhgtTGdEWkup3I0YskzeZCIwNjX58e+6P0cwS
3PNgLiVnbeo+6PiJT3t++laWBqvny/olfvPMdd1pHIBdS+adWV6uXwI4wFJ2fhFi
/8CD+lV4UJ0NgO3TYmd6ugkCgYBmMT9iRGvYM5tr11mt6Ip4EjOgsVP2GZuebO4y
e89iaId64xaqdr8N68ovr8dbu3RjqeS6BbV2GVOnZJ1t1qpA+6eGx4eeHpapJoO1
tIU8k2aEPUZJqWfdULvi7he4LdgB/A42ayoxhXIT/1tHuoHs34oeeA7qpuJ9Gh2h
LQNsmQKBgC5JoKSf/2QdhucOebgTTXoUNwvNUcbgLJ6GmOc6XpFWfy0TeX76AlPB
CrNxy7WaeB3/nFmNli4DSkm34WSjiVMw1XnteqAULkC5s6Wtcghz1t7oYc0skrhB
JcnDukELY1TES4zc74PjIsixn6fcRvLPC2UiOvon/+flXUWMNelx
-----END RSA PRIVATE KEY-----

Macsta
OpenVpn Newbie
Posts: 1
Joined: Sat Oct 27, 2018 12:56 am

Re: OpenVPN with client and server different intermediate certificates

Post by Macsta » Sat Oct 27, 2018 12:57 am

Why has no one commented telling this person the dangers of publishing a private key??? Please say this CA key is not still in use?

Post Reply