Hi, On 30/06/15 17:56, Josu Lazkano wrote: > Thanks both, > > I download the CA from the server and add this in the client configuration: > > ca ca.crt > > And execute the client from CMD, this is what I have: > > Tue Jun 30 17:42:04 2015 WARNING: No server certificate verification > method has been enabled. See http://openvpn.net/howto.html#mitm for > more info. > Tue Jun 30 17:42:04 2015 Socket Buffers: R=[8192->8192] S=[8192->8192] > Tue Jun 30 17:42:04 2015 Attempting to establish TCP connection with > [AF_INET]Mikrotik_IP:1194 [nonblock] > Tue Jun 30 17:42:05 2015 TCP connection established with > [AF_INET]Mikrotik_IP:1194 > Tue Jun 30 17:42:05 2015 TCPv4_CLIENT link local: [undef] > Tue Jun 30 17:42:05 2015 TCPv4_CLIENT link remote: [AF_INET]Mikrotik_IP:1194 > Tue Jun 30 17:42:05 2015 TLS: Initial packet from > [AF_INET]Mikrotik_IP:1194, sid=dceb8c84 979b20d5 > Tue Jun 30 17:42:05 2015 VERIFY ERROR: depth=1, error=self signed > certificate in certificate chain: CN=myCa > Tue Jun 30 17:42:05 2015 TLS_ERROR: BIO read tls_read_plaintext error: > error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate > verify failed > Tue Jun 30 17:42:05 2015 TLS Error: TLS object -> incoming plaintext read > error > Tue Jun 30 17:42:05 2015 TLS Error: TLS handshake failed > Tue Jun 30 17:42:05 2015 Fatal TLS error (check_tls_errors_co), restarting > Tue Jun 30 17:42:05 2015 SIGUSR1[soft,tls-error] received, process restarting > Tue Jun 30 17:42:05 2015 Restart pause, 5 second(s) > > This looks better, which is the problem? > the certificate that fails is a certificate with name /CN=myca in the subject; run openssl x509 -subject -issuer -noout -in ca.crt on the ca.crt file you grabbed from the mikrotik router - does it list /CN=myca as well?
How did you generate the certificates on/for the mikrotik router? As Gert said, this is more suited for a mikrotik forum, e.g. http://wiki.mikrotik.com/wiki/OpenVPN HTH, JJK > 2015-06-30 17:34 GMT+02:00 Gert Doering <[email protected]>: >> Hi, >> >> On Tue, Jun 30, 2015 at 05:24:23PM +0200, Josu Lazkano wrote: >>> How could I get more information? >> This sounds like something a Mikrotik forum would have more answers on, >> like "how to see the debug log on the server side", "what is needed on >> the client side to make it work", etc. >> ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ Openvpn-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-users
