Tested the package from -proposed with the same certificate I generated
in comment #25 and this time is seems to work just fine:

r...@ds9:~# apt-cache policy openvpn
openvpn:
  Installed: 2.1~rc7-1ubuntu3.6
  Candidate: 2.1~rc7-1ubuntu3.6
  Version table:
 *** 2.1~rc7-1ubuntu3.6 0
        500 http://archive.ubuntu.com hardy-proposed/main Packages
        100 /var/lib/dpkg/status
     2.1~rc7-1ubuntu3.5 0
        500 http://ftp.astral.ro hardy-updates/main Packages
     2.1~rc7-1ubuntu3.3 0
        500 http://security.ubuntu.com hardy-security/main Packages
     2.1~rc7-1ubuntu3 0
        990 http://ftp.astral.ro hardy/main Packages

r...@ds9:/etc/openvpn# strace -s256 openvpn --config
/etc/openvpn/server.conf > /tmp/strace-good.txt 2>&1

r...@ds9:~# cat /tmp/strace-good.txt |grep ximi3
recvfrom(4, " 
\377d\333ii\266\31ow\24\5I\266\362\267\211!M\341\224\373\226\346$\0224/\325\0\0\0&M\10\324m\0\0\0\0\4\3U\4\3\23\5ximi31\v0\t\6\3U\4\6\23\2RO1\v0\t\6\3U\4\10\23\2CJ1\0240\22\6\3U\4\7\23\vCluj
 Napoca1\f0\n\6\3U\4\n\23\3DS91 
0\36\6\t*\206h\206\367\r\1\t\1\26\21gi...@nara", 1558, 0, {sa_family=AF_INET, 
sin_port=htons(60504), sin_addr=inet_addr("89.136.48.193")}, [16]) = 142
write(1, "Wed Dec 15 16:45:02 2010 us=209343 89.136.48.193:60504 VERIFY OK: 
depth=0, 
/CN=ximi3/C=RO/ST=CJ/L=Cluj_Napoca/O=DS9/emailaddress=gi...@narancs.net\n", 
147) = 147
write(1, "Wed Dec 15 16:45:02 2010 us=369512 89.136.48.193:60504 [ximi3] Peer 
Connection Initiated with 89.136.48.193:60504\n", 114) = 114
open("ccd/ximi3", O_RDONLY)             = 6
write(1, "Wed Dec 15 16:45:02 2010 us=370180 ximi3/89.136.48.193:60504 OPTIONS 
IMPORT: reading client specific options from: ccd/ximi3\n", 125) = 125

My old certificates do work also, it seems the fix didn't break
anything.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/265058

Title:
  [SRU] openvpn2.1~rc7 fails to pick up the CN of certificates

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to