ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Владимир Саломатин" <salomatin.ru@mail.ru>
To: ALT Linux sysadmins' discussion <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] OpenVPN сервер через Alterator
Date: Mon, 19 Apr 2010 03:46:19 +0400
Message-ID: <E1O3eBv-0006cW-00.salomatin-ru-mail-ru@f43.mail.ru> (raw)
In-Reply-To: <20100418194946.2907bcba@sem.localdomain>

> Порт слушается.
> 
> Там UDP.
> nmap -sU -p 1194 176.16.5.12

Замечательно. С сервером все понятно. Работает. 

Другой такой же сервер использую в качестве клиента. 

На нем создаю новый SSL ключ vova_client, забираю на подпись. Перехожу на сервер 176.16.5.12 и там 
в удостоверяющем центре загружаю ключ и подписываю сертификат.  Получаю подписанный.
В Управлении ключами клиента делаю  "Положить сертификат, подписанный УЦ"

Получаю нормальный ключ. Срок истекает тогда-то.

Создаю OpenVPN-соединение. Указываю сервер 176.16.5.12  ключ vova_client, успешно загружен

применить. Ничего не происходит.



Apr 19 05:44:32 comp-7912b2 openvpn[21357]: IMPORTANT: OpenVPN's default port number is now 1194, 
based on an official port number assignment by IANA.  OpenVPN 2.0-beta16 and earlier used 5000 as 
the default port.
Apr 19 05:44:32 comp-7912b2 openvpn[21357]: WARNING: No server certificate verification method has 
been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Apr 19 05:44:32 comp-7912b2 openvpn[21357]: Re-using SSL/TLS context
Apr 19 05:44:32 comp-7912b2 openvpn[21357]: LZO compression initialized
Apr 19 05:44:32 comp-7912b2 openvpn[21357]: Control Channel MTU parms [ L:1542 D:138 EF:38 EB:0 
ET:0 EL:0 ]
Apr 19 05:44:32 comp-7912b2 openvpn[21357]: Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 
ET:0 EL:0 AF:3/1 ]
Apr 19 05:44:32 comp-7912b2 openvpn[21357]: Local Options hash (VER=V4): '41690919'
Apr 19 05:44:32 comp-7912b2 openvpn[21357]: Expected Remote Options hash (VER=V4): '530fdded'
Apr 19 05:44:32 comp-7912b2 openvpn[21357]: UDPv4 link local: [undef]
Apr 19 05:44:32 comp-7912b2 openvpn[21357]: UDPv4 link remote: 176.16.5.12:1194
Apr 19 05:44:32 comp-7912b2 openvpn[21357]: TLS: Initial packet from 176.16.5.12:1194, sid=aa32e494 
6870f787
Apr 19 05:44:33 comp-7912b2 openvpn[21357]: VERIFY ERROR: depth=0, error=unable to get local issuer 
certificate: /O=openvpn-server/CN=comp-Celeron-M-413ca8.vvv.school.local
Apr 19 05:44:33 comp-7912b2 openvpn[21357]: TLS_ERROR: BIO read tls_read_plaintext error: 
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
Apr 19 05:44:33 comp-7912b2 openvpn[21357]: TLS Error: TLS object -> incoming plaintext read error
Apr 19 05:44:33 comp-7912b2 openvpn[21357]: TLS Error: TLS handshake failed
Apr 19 05:44:33 comp-7912b2 openvpn[21357]: TCP/UDP: Closing socket
Apr 19 05:44:33 comp-7912b2 openvpn[21357]: SIGUSR1[soft,tls-error] received, process restarting
Apr 19 05:44:33 comp-7912b2 openvpn[21357]: Restart pause, 2 second(s)


  reply	other threads:[~2010-04-18 23:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-18  8:17 Владимир Саломатин
2010-04-18  8:59 ` Mikhail Efremov
2010-04-18 10:50   ` Владимир Саломатин
2010-04-18 11:36     ` Mikhail Efremov
2010-04-18 12:21       ` Владимир Саломатин
2010-04-18 12:53         ` Mikhail Efremov
2010-04-18 13:03           ` Владимир Саломатин
2010-04-18 15:49             ` Mikhail Efremov
2010-04-18 23:46               ` Владимир Саломатин [this message]
2010-04-19 11:47                 ` Mikhail Efremov
2010-04-19 12:10               ` Владимир Саломатин
2010-04-19 13:05                 ` Mikhail Efremov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1O3eBv-0006cW-00.salomatin-ru-mail-ru@f43.mail.ru \
    --to=salomatin.ru@mail.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git