<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi,<br>
<br>
On 04/03/19 09:08, Wolfgang Knauf wrote:<br>
</div>
<blockquote type="cite"
cite="mid:AM0PR08MB4177E898356920A5619F91AAF8710@AM0PR08MB4177.eurprd08.prod.outlook.com">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hi,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I first asked this question in the
OpenVPNGui forum, and they redirected me to here: OpenVPNGui
2.4.6 works with a customers server certificate, but it fails
when using 2.4.7.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Here is the thread in the OpenVPNGui forum:
<a
href="https://forums.openvpn.net/viewtopic.php?f=24&t=27976"
moz-do-not-send="true">
https://forums.openvpn.net/viewtopic.php?f=24&t=27976</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The error is:<o:p></o:p></p>
<p class="MsoNormal">Thu Feb 28 08:48:50 2019 VERIFY ERROR:
depth=0, error=<b>format error in certificate's notAfter field</b>:
C=de, L=Dortmund, O=Versatel, CN=ASG_1, emailAddress=...<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The certificate has those fields:<o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier
New""> Validity<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier
New""> Not Before: Oct 22 13:28:29 2009 GMT<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier
New""> Not After : Mar 8 13:28:29 2037 GMT<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The customer provided us with a „…..ca.crt“
file, a „….user.crt“ file and a „user.key“ file. But I fear it
is not smart to post those files in the internet ;-).<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<br>
</div>
</blockquote>
you can safely post the client.crt file - it is public info and
useless without the key file. <br>
<br>
Having said that, I just created a certificate set to expire on Mar
9 2037 and it passed the following command:<br>
c:\program files\openvpn\bin\openssl x509 -dates -subject -noout
-in mycert.crt<br>
<br>
can you run the same command on the failing certificate?<br>
<br>
HTH,<br>
<br>
JJK / Jan Just Keijser<br>
<br>
</body>
</html>