ssl certificate problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Paolo Ercolani wrote:

    Hi. I'm new to this list and it's a week i'm really fighting with
    directory server. I followed some howtos, i downloaded a lot of
    documents but i can't get out of trouble. I need to make login from
    my linux boxes on ldap directory server. If i try to use my test
    user in clear mode i can do that. The problem is when i try to
    configure a self-signed certificate. I'll not describe all the tests
    i've done, i'll tell you just the last!! I created my cacert.pem on
    the ldapserver and i installed from the console. It goes and it's
    ok. Then i used openssl to generate a private key and a certificate
    request then i signed it. That's what i did:

       openssl genrsa -out privkey.pem 2048
       openssl req -new -key privkey.pem -out PEM.csr
       openssl ca -cert cacert.pem -in PEM.csr -out cert.pem

      

    I copied cacert.pem, privkey.pem and cert.pem on the client and i
    configured ldap.conf on it:

       URI ldaps://<ldapserver>:636
       BASE ou=UTENTI,o=postel,c=com
       host kingu.postel.com
       TLS_REQCERT allow
       TLS_CHECKPEER yes
       TLS_CACERTDIR /etc/ssl
       TLS_CACERT /etc/ssl/cacert.pem
       TLS_CERT /etc/ssl/cert.pem
       TLS_KEY /etc/ssl/privkey.pem

      

    I activated ssl on my ldap server and i installed my cacert.pem on
    it. i didn't anything else. I tried also to generate a certificate
    request from directory server and to sign it with my cacert.pem.
    Then i imported it like my server-cert. It imported it but login
    still didn't go. 

 >I'm unclear on this last step. What do you mean by login still didn't 
go? Because the access log excerpt below >would seem to indicate that 
the os did search for and find the login name.

Yes. Reading logs it seems login goes ok. But my client can't really 
login and i don't know what i can check. Client asks me again for 
password, but i'm sure it's the right one. Have you any ideas for 
checking something???

Thanks in advance.
Paolo.




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux