Differences between revisions 7 and 8
Revision 7 as of 2018-07-12 08:42:56
Size: 1611
Editor: PieterSmit
Comment:
Revision 8 as of 2018-07-12 10:07:10
Size: 1661
Editor: PieterSmit
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
 * 2018 Python script to gen selfsigned certs and client certs [[https://gist.github.com/diepes/a7c3a53ed94c587803e20e6576ea4525#file-openvpn_gen-py]]  * 2018 Python script to gen self-signed certs and client certs [[https://gist.github.com/diepes/a7c3a53ed94c587803e20e6576ea4525#file-openvpn_gen-py]]
Line 18: Line 18:
      * X509v3 Subject Key Identifier: critical

OpenVpn Notes and example

Errors

  •  VERIFY ERROR: depth=1, error=unhandled critical extension: CN= 

    • and  OpenSSL: error:1416F086:SSL routines:tls_process_server_certificate:certificate verify failed 

      • verify with

        $ openssl verify -CAfile ca.pem server.pem 
        CN = test_ca_20180712_20h31
        error 34 at 1 depth lookup: unhandled critical extension
        error server.pem: verification failed
        • X509v3 Subject Key Identifier: critical
  •  openvpn: VERIFY ERROR: depth=0, could not extract X509 subject string from certificate 

    • Caused by not adding a CN to the certificate when created.
  •  openvpn[...]: TLS Error: Unroutable control packet received from [AF_INET] ... (si=3 op=P_CONTROL_V1) 

    • Add client to config in addition to tls-client to allow client to accept ip from server

    • remove topology mode setting from client.'

...


CategoryVpnTunnel

OpenVpn (last edited 2019-01-09 21:33:08 by PieterSmit)