From: Norbert K. <nor...@da...> - 2002-03-06 23:50:45
|
--On Mittwoch, 6. M=E4rz 2002 15:55 +0000 Chris Ridd=20 <chr...@me...> wrote: > The "file not found" error might be referring to your certificate - it = may > be in the wrong format or something. > > Try commenting out the two lines: > > verify =3D> 'require', > certpath =3D> '/home/sean/mycert.cer', IIRC Net_SSLeay (as OpenSSL) expects certificates to be in PEM (ascii)=20 format and DER (binary). Convert with openssl x509 -inform der -in mycert.cer -out mycert.pem To fix up passwords for ADs UnicodePwd attribute syntax, you'll need=20 something like: use Unicode::String qw(latin1 utf16); sub MakeUnicodePwd($) { my $u =3D latin1("\"".$_[0]."\""); $u->byteswap(); return $u->ucs2; } --=20 Norbert Klasen, Dipl.-Inform. DAASI International GmbH phone: +49 7071 29 70336 Wilhelmstr. 106 fax: +49 7071 29 5114 72074 T=FCbingen email: nor...@da... Germany web: http://www.daasi.de |