<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Hello everybody and, firstly, thanks for your continued support.<BR>
 <BR>
I hope I've used the correct expression/jargon, ie:PAM-LDAP ?<BR>
 <BR>
PAM-LDAP works with LDAPS and binding with cn=Directory Manager/password hardcoded in /etc/ldap.conf - great stuff.<BR>
This was configured using the GUI '/usr/sbin/system-config-authentication' - also great stuff !<BR>
 <BR>
Symbolic Link pointing to the CA certificate: Q1. I've searched the web but cannot find what purpose the symbolic link serves.<BR>
----------------------------------------<BR>
 <BR>
# ls -toalr /etc/openldap/cacerts<BR>-rw-r--r-- 1 root 1464 2009-03-10 12:21 authconfig_downloaded.pem<BR>lrwxrwxrwx 1 root   25 2009-03-10 12:21 123a856c.0 -> authconfig_downloaded.pem<BR>
 <BR>
 <BR>
Client Certificate etc.<BR>
--------------------------<BR>
I'm now experimenting with client certificates and have found the following link:<BR>
 <BR>
<A href="http://lists.fini.net/pipermail/ldap-interop/2005-April/000421.html">http://lists.fini.net/pipermail/ldap-interop/2005-April/000421.html</A><BR>
 <BR>
and see the following example lines for the file /etc/ldap.conf:<BR>
tls_cert   /usr/share/ssl/certs/ldap.pem ($FN.pem in my case)<BR>tls_key    /usr/share/ssl/certs/ldap.key.pem ($FN.key for me)<BR>
 <BR>
Q2. ldap.key.pem: Is this file simply the $FN.key file created by the following command ?<BR>
Will I have trouble if I specify '-passout' ? I assume it protects the file $FN.key.<BR>How will PAM-LDAP open the keystore if I have used a password ?<BR>
 <BR>
openssl req -newkey rsa:1024 -keyout ${FN}.key -out ${FN}.csr -passout pass:<password> 0<< EOF >/dev/null 2>&1<BR><SNIP><BR>
 <BR>
Q3. ldap.pem: Is this file simply the $FN.pem file created by the following command ?<BR>
 <BR>
openssl ca -in ${FN}.csr -out ${FN}.pem -days 7300 -keyfile $DIR/demoCA/private/cakey.pem \<BR>        -cert $DIR/demoCA/cacert.pem \<BR>        -passin pass:<CA PASSWORD> << EOF2 >/dev/null 2>&1<BR><SNIP><BR>
 <BR>
Thanks again, cdlt, <BR>
-----------<BR>
 <BR>
 <BR>
<BR> <BR><br /><hr />Create a cool, new character for your Windows Live™ Messenger.  <a href='http://go.microsoft.com/?linkid=9656621' target='_new'>Check it out</a></body>
</html>