Self Signed certificate error, tls_read_plaintext error, etc

Scripts to manage certificates or generate config files
Post Reply
zschramm
OpenVpn Newbie
Posts: 1
Joined: Mon Jan 22, 2018 4:37 pm

Self Signed certificate error, tls_read_plaintext error, etc

Post by zschramm » Mon Jan 22, 2018 4:57 pm

All,

I know this issue is discussed in many threads, but I still cannot find the solution to my issue. I have OpenVPN server setup on an Edgerouter Lite (I don't have control of updating openvpn and openssl) and it worked great for a year or so. I think my certificates expired and since I have not been able to get it up and running again. I used the same configuration in the edgerouter and tried it with both windows and android clients. I also get certificate errors.

I have rebuilt my certificates 5+ times with different combinations of Cnames and no luck.

I have read all the threads about this and nothing has worked, appreciate your advice.

Server configuration

Code: Select all

openvpn vtun0 {
         description "OpenVPN server"
         encryption aes256
         hash sha256
         mode server
         openvpn-option "--port 11944"
         openvpn-option --tls-server
         openvpn-option "--comp-lzo yes"
         openvpn-option --persist-key
         openvpn-option --persist-tun
         openvpn-option "--keepalive 10 120"
         openvpn-option "--user nobody"
         openvpn-option "--group nogroup"
         server {
             name-server 192.168.2.1
             push-route 192.168.2.0/24
             subnet 192.168.50.0/24
         }
         tls {
             ca-cert-file /config/auth/cacert.pem
             cert-file /config/auth/host.pem
             dh-file /config/auth/dh2048.pem
             key-file /config/auth/host-decrypted.key
         }
     }
Client configuration

Code: Select all

##############################################
# Sample client-side OpenVPN 2.0 config file #
# for connecting to multi-client server.     #
#                                            #
# This configuration can be used by multiple #
# clients, however each client should have   #
# its own cert and key files.                #
#                                            #
# On Windows, you might want to rename this  #
# file so it has a .ovpn extension           #
##############################################

# Specify that we are a client and that we
# will be pulling certain config file directives
# from the server.
client

# Use the same setting as you are using on
# the server.
# On most systems, the VPN will not function
# unless you partially or fully disable
# the firewall for the TUN/TAP interface.
;dev tap
dev tun

# Windows needs the TAP-Win32 adapter name
# from the Network Connections panel
# if you have more than one.  On XP SP2,
# you may need to disable the firewall
# for the TAP adapter.
;dev-node MyTap

# Are we connecting to a TCP or
# UDP server?  Use the same setting as
# on the server.
;proto tcp
proto udp

# The hostname/IP and port of the server.
# You can have multiple remote entries
# to load balance between the servers.
remote xxxxxxxxxxx 11944
;remote my-server-2 1194

# Choose a random host from the remote
# list for load-balancing.  Otherwise
# try hosts in the order specified.
;remote-random

# Keep trying indefinitely to resolve the
# host name of the OpenVPN server.  Very useful
# on machines which are not permanently connected
# to the internet such as laptops.
resolv-retry infinite

# Most clients don't need to bind to
# a specific local port number.
nobind

# Downgrade privileges after initialization (non-Windows only)
user nobody
group nogroup

# Try to preserve some state across restarts.
persist-key
persist-tun

# If you are connecting through an
# HTTP proxy to reach the actual OpenVPN
# server, put the proxy server/IP and
# port number here.  See the man page
# if your proxy server requires
# authentication.
;http-proxy-retry # retry on connection failures
;http-proxy [proxy server] [proxy port #]

# Wireless networks often produce a lot
# of duplicate packets.  Set this flag
# to silence duplicate packet warnings.
;mute-replay-warnings

# SSL/TLS parms.
# See the server config file for more
# description.  It's best to use
# a separate .crt/.key file pair
# for each client.  A single ca
# file can be used for all clients.
ca cacert.pem
cert client1.pem
key client1-decrypted.key

# Verify server certificate by checking
# that the certicate has the nsCertType
# field set to "server".  This is an
# important precaution to protect against
# a potential attack discussed here:
#  http://openvpn.net/howto.html#mitm
#
# To use this feature, you will need to generate
# your server certificates with the nsCertType
# field set to "server".  The build-key-server
# script in the easy-rsa folder will do this.
#ns-cert-type server

# If a tls-auth key is used on the server
# then every client must also have the key.
#tls-auth ta.key 1

# Select a cryptographic cipher.
# If the cipher option is used on the server
# then you must also specify it here.
cipher AES-256-CBC

# Enable compression on the VPN link.
# Don't enable this unless it is also
# enabled in the server config file.
comp-lzo

# Set log file verbosity.
verb 5

# Silence repeating messages
;mute 20

auth SHA256
redirect-gateway def1
Windows Client log

Code: Select all

Sun Jan 21 23:03:17 2018 NOTE: --user option is not implemented on Windows
Sun Jan 21 23:03:17 2018 NOTE: --group option is not implemented on Windows
Sun Jan 21 23:03:17 2018 us=312000 Note: option http-proxy-fallback ignored because no TCP-based connection profiles are defined
Sun Jan 21 23:03:17 2018 us=312000 Current Parameter Settings:
Sun Jan 21 23:03:17 2018 us=312000   config = 'stdin'
Sun Jan 21 23:03:17 2018 us=312000   mode = 0
Sun Jan 21 23:03:17 2018 us=312000   show_ciphers = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   show_digests = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   show_engines = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   genkey = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   key_pass_file = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   show_tls_ciphers = DISABLED
Sun Jan 21 23:03:17 2018 us=312000 Connection profiles [default]:
Sun Jan 21 23:03:17 2018 us=312000   proto = udp
Sun Jan 21 23:03:17 2018 us=312000   local = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   local_port = 1194
Sun Jan 21 23:03:17 2018 us=312000   remote = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   remote_port = 1194
Sun Jan 21 23:03:17 2018 us=312000   remote_float = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   bind_defined = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   bind_local = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   connect_retry_seconds = 5
Sun Jan 21 23:03:17 2018 us=312000   connect_timeout = 10
Sun Jan 21 23:03:17 2018 us=312000   connect_retry_max = 0
Sun Jan 21 23:03:17 2018 us=312000   socks_proxy_server = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   socks_proxy_port = 0
Sun Jan 21 23:03:17 2018 us=312000   socks_proxy_retry = DISABLED
Sun Jan 21 23:03:17 2018 us=312000 Connection profiles [0]:
Sun Jan 21 23:03:17 2018 us=312000   proto = udp
Sun Jan 21 23:03:17 2018 us=312000   local = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   local_port = 0
Sun Jan 21 23:03:17 2018 us=312000   remote = 'zacman.duckdns.org'
Sun Jan 21 23:03:17 2018 us=312000   remote_port = 11944
Sun Jan 21 23:03:17 2018 us=312000   remote_float = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   bind_defined = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   bind_local = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   connect_retry_seconds = 5
Sun Jan 21 23:03:17 2018 us=312000   connect_timeout = 10
Sun Jan 21 23:03:17 2018 us=312000   connect_retry_max = 0
Sun Jan 21 23:03:17 2018 us=312000   socks_proxy_server = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   socks_proxy_port = 0
Sun Jan 21 23:03:17 2018 us=312000   socks_proxy_retry = DISABLED
Sun Jan 21 23:03:17 2018 us=312000 Connection profiles END
Sun Jan 21 23:03:17 2018 us=312000   remote_random = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   ipchange = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   dev = 'tun'
Sun Jan 21 23:03:17 2018 us=312000   dev_type = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   dev_node = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   lladdr = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   topology = 1
Sun Jan 21 23:03:17 2018 us=312000   tun_ipv6 = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   ifconfig_local = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   ifconfig_remote_netmask = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   ifconfig_noexec = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   ifconfig_nowarn = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   shaper = 0
Sun Jan 21 23:03:17 2018 us=312000   tun_mtu = 1500
Sun Jan 21 23:03:17 2018 us=312000   tun_mtu_defined = ENABLED
Sun Jan 21 23:03:17 2018 us=312000   link_mtu = 1500
Sun Jan 21 23:03:17 2018 us=312000   link_mtu_defined = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   tun_mtu_extra = 0
Sun Jan 21 23:03:17 2018 us=312000   tun_mtu_extra_defined = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   fragment = 0
Sun Jan 21 23:03:17 2018 us=312000   mtu_discover_type = -1
Sun Jan 21 23:03:17 2018 us=312000   mtu_test = 0
Sun Jan 21 23:03:17 2018 us=312000   mlock = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   keepalive_ping = 0
Sun Jan 21 23:03:17 2018 us=312000   keepalive_timeout = 0
Sun Jan 21 23:03:17 2018 us=312000   inactivity_timeout = 0
Sun Jan 21 23:03:17 2018 us=312000   ping_send_timeout = 0
Sun Jan 21 23:03:17 2018 us=312000   ping_rec_timeout = 0
Sun Jan 21 23:03:17 2018 us=312000   ping_rec_timeout_action = 0
Sun Jan 21 23:03:17 2018 us=312000   ping_timer_remote = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   remap_sigusr1 = 0
Sun Jan 21 23:03:17 2018 us=312000   explicit_exit_notification = 0
Sun Jan 21 23:03:17 2018 us=312000   persist_tun = ENABLED
Sun Jan 21 23:03:17 2018 us=312000   persist_local_ip = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   persist_remote_ip = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   persist_key = ENABLED
Sun Jan 21 23:03:17 2018 us=312000   mssfix = 1450
Sun Jan 21 23:03:17 2018 us=312000   resolve_retry_seconds = 1000000000
Sun Jan 21 23:03:17 2018 us=312000   username = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   groupname = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   chroot_dir = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   cd_dir = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   writepid = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   up_script = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   down_script = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   down_pre = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   up_restart = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   up_delay = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   daemon = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   inetd = 0
Sun Jan 21 23:03:17 2018 us=312000   log = ENABLED
Sun Jan 21 23:03:17 2018 us=312000   suppress_timestamps = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   nice = 0
Sun Jan 21 23:03:17 2018 us=312000   verbosity = 5
Sun Jan 21 23:03:17 2018 us=312000   mute = 0
Sun Jan 21 23:03:17 2018 us=312000   gremlin = 0
Sun Jan 21 23:03:17 2018 us=312000   status_file = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   status_file_version = 1
Sun Jan 21 23:03:17 2018 us=312000   status_file_update_freq = 60
Sun Jan 21 23:03:17 2018 us=312000   occ = ENABLED
Sun Jan 21 23:03:17 2018 us=312000   rcvbuf = 0
Sun Jan 21 23:03:17 2018 us=312000   sndbuf = 0
Sun Jan 21 23:03:17 2018 us=312000   sockflags = 0
Sun Jan 21 23:03:17 2018 us=312000   fast_io = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   lzo = 7
Sun Jan 21 23:03:17 2018 us=312000   route_script = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   route_default_gateway = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   route_default_metric = 0
Sun Jan 21 23:03:17 2018 us=312000   route_noexec = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   route_delay = 5
Sun Jan 21 23:03:17 2018 us=312000   route_delay_window = 30
Sun Jan 21 23:03:17 2018 us=312000   route_delay_defined = ENABLED
Sun Jan 21 23:03:17 2018 us=312000   route_nopull = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   route_gateway_via_dhcp = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   max_routes = 100
Sun Jan 21 23:03:17 2018 us=312000   allow_pull_fqdn = ENABLED
Sun Jan 21 23:03:17 2018 us=312000   [redirect_default_gateway local=0]
Sun Jan 21 23:03:17 2018 us=312000   management_addr = '127.0.0.1'
Sun Jan 21 23:03:17 2018 us=312000   management_port = 49342
Sun Jan 21 23:03:17 2018 us=312000   management_user_pass = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   management_log_history_cache = 250
Sun Jan 21 23:03:17 2018 us=312000   management_echo_buffer_size = 100
Sun Jan 21 23:03:17 2018 us=312000   management_write_peer_info_file = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   management_client_user = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   management_client_group = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   management_flags = 38
Sun Jan 21 23:03:17 2018 us=312000   shared_secret_file = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   key_direction = 0
Sun Jan 21 23:03:17 2018 us=312000   ciphername_defined = ENABLED
Sun Jan 21 23:03:17 2018 us=312000   ciphername = 'AES-256-CBC'
Sun Jan 21 23:03:17 2018 us=312000   authname_defined = ENABLED
Sun Jan 21 23:03:17 2018 us=312000   authname = 'SHA256'
Sun Jan 21 23:03:17 2018 us=312000   prng_hash = 'SHA1'
Sun Jan 21 23:03:17 2018 us=312000   prng_nonce_secret_len = 16
Sun Jan 21 23:03:17 2018 us=312000   keysize = 0
Sun Jan 21 23:03:17 2018 us=312000   engine = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   replay = ENABLED
Sun Jan 21 23:03:17 2018 us=312000   mute_replay_warnings = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   replay_window = 64
Sun Jan 21 23:03:17 2018 us=312000   replay_time = 15
Sun Jan 21 23:03:17 2018 us=312000   packet_id_file = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   use_iv = ENABLED
Sun Jan 21 23:03:17 2018 us=312000   test_crypto = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   tls_server = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   tls_client = ENABLED
Sun Jan 21 23:03:17 2018 us=312000   key_method = 2
Sun Jan 21 23:03:17 2018 us=312000   ca_file = '[[INLINE]]'
Sun Jan 21 23:03:17 2018 us=312000   ca_path = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   dh_file = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   cert_file = '[[INLINE]]'
Sun Jan 21 23:03:17 2018 us=312000   priv_key_file = '[[INLINE]]'
Sun Jan 21 23:03:17 2018 us=312000   pkcs12_file = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   cryptoapi_cert = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   cipher_list = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   tls_verify = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   tls_remote = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   crl_file = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   ns_cert_type = 0
Sun Jan 21 23:03:17 2018 us=312000   remote_cert_ku[i] = 0
Sun Jan 21 23:03:17 2018 us=312000   remote_cert_ku[i] = 0
Sun Jan 21 23:03:17 2018 us=312000   remote_cert_ku[i] = 0
Sun Jan 21 23:03:17 2018 us=312000   remote_cert_ku[i] = 0
Sun Jan 21 23:03:17 2018 us=312000   remote_cert_ku[i] = 0
Sun Jan 21 23:03:17 2018 us=312000   remote_cert_ku[i] = 0
Sun Jan 21 23:03:17 2018 us=312000   remote_cert_ku[i] = 0
Sun Jan 21 23:03:17 2018 us=312000   remote_cert_ku[i] = 0
Sun Jan 21 23:03:17 2018 us=312000   remote_cert_ku[i] = 0
Sun Jan 21 23:03:17 2018 us=312000   remote_cert_ku[i] = 0
Sun Jan 21 23:03:17 2018 us=312000   remote_cert_ku[i] = 0
Sun Jan 21 23:03:17 2018 us=312000   remote_cert_ku[i] = 0
Sun Jan 21 23:03:17 2018 us=312000   remote_cert_ku[i] = 0
Sun Jan 21 23:03:17 2018 us=312000   remote_cert_ku[i] = 0
Sun Jan 21 23:03:17 2018 us=312000   remote_cert_ku[i] = 0
Sun Jan 21 23:03:17 2018 us=312000   remote_cert_ku[i] = 0
Sun Jan 21 23:03:17 2018 us=312000   remote_cert_eku = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   tls_timeout = 2
Sun Jan 21 23:03:17 2018 us=312000   renegotiate_bytes = 0
Sun Jan 21 23:03:17 2018 us=312000   renegotiate_packets = 0
Sun Jan 21 23:03:17 2018 us=312000   renegotiate_seconds = 3600
Sun Jan 21 23:03:17 2018 us=312000   handshake_window = 60
Sun Jan 21 23:03:17 2018 us=312000   transition_window = 3600
Sun Jan 21 23:03:17 2018 us=312000   single_session = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   push_peer_info = ENABLED
Sun Jan 21 23:03:17 2018 us=312000   tls_exit = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   tls_auth_file = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   client = ENABLED
Sun Jan 21 23:03:17 2018 us=312000   pull = ENABLED
Sun Jan 21 23:03:17 2018 us=312000   auth_user_pass_file = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   show_net_up = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   route_method = 0
Sun Jan 21 23:03:17 2018 us=312000   ip_win32_defined = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   ip_win32_type = 3
Sun Jan 21 23:03:17 2018 us=312000   dhcp_masq_offset = 0
Sun Jan 21 23:03:17 2018 us=312000   dhcp_lease_time = 31536000
Sun Jan 21 23:03:17 2018 us=312000   tap_sleep = 0
Sun Jan 21 23:03:17 2018 us=312000   dhcp_options = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   dhcp_renew = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   dhcp_pre_release = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   dhcp_release = DISABLED
Sun Jan 21 23:03:17 2018 us=312000   domain = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   netbios_scope = '[UNDEF]'
Sun Jan 21 23:03:17 2018 us=312000   netbios_node_type = 0
Sun Jan 21 23:03:17 2018 us=312000   disable_nbt = DISABLED
Sun Jan 21 23:03:17 2018 us=312000 OpenVPNAS 2.1.1oOAS Win32-MSVC++ [SSL] [LZO2] built on Jul 29 2010
Sun Jan 21 23:03:17 2018 us=312000 MANAGEMENT: Connected to management server at 127.0.0.1:49342
Sun Jan 21 23:03:17 2018 us=312000 MANAGEMENT: CMD 'log on'
Sun Jan 21 23:03:17 2018 us=312000 MANAGEMENT: CMD 'state on'
Sun Jan 21 23:03:17 2018 us=312000 MANAGEMENT: CMD 'echo on'
Sun Jan 21 23:03:17 2018 us=312000 MANAGEMENT: CMD 'bytecount 5'
Sun Jan 21 23:03:17 2018 us=312000 MANAGEMENT: CMD 'hold off'
Sun Jan 21 23:03:17 2018 us=312000 MANAGEMENT: CMD 'hold release'
Sun Jan 21 23:03:17 2018 us=312000 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Sun Jan 21 23:03:17 2018 us=312000 NOTE: OpenVPNAS 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Sun Jan 21 23:03:17 2018 us=437000 LZO compression initialized
Sun Jan 21 23:03:17 2018 us=437000 Control Channel MTU parms [ L:1570 D:138 EF:38 EB:0 ET:0 EL:0 ]
Sun Jan 21 23:03:17 2018 us=437000 Socket Buffers: R=[65536->65536] S=[65536->65536]
Sun Jan 21 23:03:17 2018 us=437000 MANAGEMENT: >STATE:1516604597,RESOLVE,,,
Sun Jan 21 23:03:17 2018 us=437000 Data Channel MTU parms [ L:1570 D:1450 EF:70 EB:135 ET:0 EL:0 AF:3/1 ]
Sun Jan 21 23:03:17 2018 us=437000 Local Options String: 'V4,dev-type tun,link-mtu 1570,tun-mtu 1500,proto UDPv4,comp-lzo,cipher AES-256-CBC,auth SHA256,keysize 256,key-method 2,tls-client'
Sun Jan 21 23:03:17 2018 us=437000 Expected Remote Options String: 'V4,dev-type tun,link-mtu 1570,tun-mtu 1500,proto UDPv4,comp-lzo,cipher AES-256-CBC,auth SHA256,keysize 256,key-method 2,tls-server'
Sun Jan 21 23:03:17 2018 us=437000 Local Options hash (VER=V4): 'fc8ba345'
Sun Jan 21 23:03:17 2018 us=437000 Expected Remote Options hash (VER=V4): '79a26cd9'
Sun Jan 21 23:03:17 2018 us=437000 UDPv4 link local: [undef]
Sun Jan 21 23:03:17 2018 us=437000 UDPv4 link remote: 72.199.142.238:11944
Sun Jan 21 23:03:17 2018 us=437000 MANAGEMENT: >STATE:1516604597,WAIT,,,
Sun Jan 21 23:03:17 2018 us=500000 MANAGEMENT: >STATE:1516604597,AUTH,,,
Sun Jan 21 23:03:17 2018 us=500000 TLS: Initial packet from 72.199.142.238:11944, sid=e7fd084c 81bc6d94
Sun Jan 21 23:03:18 2018 us=515000 VERIFY ERROR: depth=1, error=self signed certificate in certificate chain: /C=US/ST=CA/O=Zacman/CN=zacman.duckdns.org
Sun Jan 21 23:03:18 2018 us=515000 TLS_ERROR: BIO read tls_read_plaintext error: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Sun Jan 21 23:03:18 2018 us=515000 TLS Error: TLS object -> incoming plaintext read error
Sun Jan 21 23:03:18 2018 us=515000 TLS Error: TLS handshake failed
Sun Jan 21 23:03:18 2018 us=515000 TCP/UDP: Closing socket
Sun Jan 21 23:03:18 2018 us=515000 SIGUSR1[soft,tls-error] received, process restarting
Sun Jan 21 23:03:18 2018 us=515000 MANAGEMENT: >STATE:1516604598,RECONNECTING,tls-error,,
Sun Jan 21 23:03:18 2018 us=515000 Restart pause, 2 second(s)

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 5452
Joined: Fri Jun 03, 2016 1:17 pm

Re: Self Signed certificate error, tls_read_plaintext error, etc

Post by TinCanTech » Mon Jan 22, 2018 6:03 pm

zschramm wrote:
Mon Jan 22, 2018 4:57 pm
I don't have control of updating openvpn and openssl
OK .. but you can login to the router to upload PKI (cert/key etc) files ?

Post Reply