[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: main: TLS init def ctx failed: -1
Yes, it did build correctly. It seems the problem was in the creation of
my certificates. I read the certificate creation doc on openssl.org and
was able to get it working properly.
Ben
> did it build correctly?
> im getting an error with the tls.c files RH 9.0/ openssl 0.9.6g (i
> backed down after the configure couldnt find the ssl.h file which was in
> /usr/include/openssl )
>
> tls.c: In function `ldap_int_tls_connect': tls.c:776: warning: passing
> arg 1 of `ber_strdup' makes pointer from integer without a cast tls.c:
> In function `ldap_pvt_tls_check_hostname': tls.c:1018: warning:
> assignment makes pointer from integer without a cast tls.c:1022:
> `GENERAL_NAME' undeclared (first use in this function) tls.c:1022:
> (Each undeclared identifier is reported only once
> tls.c:1022: for each function it appears in.)
> tls.c:1022: `gn' undeclared (first use in this function)
> tls.c:1035: parse error before ')' token
> tls.c:1035: parse error before ')' token
> tls.c:1036: `GEN_DNS' undeclared (first use in this function)
> tls.c:1060: `GEN_IPADD' undeclared (first use in this function
> make[2]: *** [tls.lo] Error 1
>
>
>
> --------------------------------------
> Sean O'Malley, Information Technologist
> Michigan State University
> -------------------------------------
>
> On Sat, 26 Apr 2003, Benjamin Krein wrote:
>
>> I'm trying to get TLS to work. I am pretty sure I have the
>> certificates created properly (working from OReilly's new LDAP Sys.
>> Admin. book), but I get this in my log file and slapd never starts:
>>
>> main: TLS init def ctx failed: -1
>>
>>
>> Ben