- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: LDAPUX with SSL/TLS? HOW?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2004 08:53 AM
08-10-2004 08:53 AM
I have it talking to an OpenLDAP server now over the freetext port 387 but I do not want to use that with pam_ldap. I need to do SSL so the passwords are encrypted.
I saw a reference to something about installing some cert files, but on my other clients I don't have to install anything since I am only doing SERVER based SSL and not doing any client ssl verification.
If I need to install these files, where do I put them and how do I get the ldapux client to start talking SSL via port 686?
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2004 09:06 AM
08-10-2004 09:06 AM
Re: LDAPUX with SSL/TLS? HOW?
Some reading:
http://search.hp.com/redirect.html?url=http%3A//forums1.itrc.hp.com/service/forums/questionanswer.do%3FthreadId%3D51709&qt=LDAP+%2BSSL+%2Bconfiguration&hit=3
http://search.hp.com/redirect.html?url=http%3A//forums1.itrc.hp.com/service/forums/questionanswer.do%3FthreadId%3D602390&qt=LDAP+%2BSSL+%2Bconfiguration&hit=7
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B8725-90063/B8725-90063_top.html&con=/hpux/onlinedocs/B8725-90063/00/00/50-con.html&toc=/hpux/onlinedocs/B8725-90063/00/00/50-toc.html&searchterms=SSL%7cconfiguration%7cLDAP&queryid=20040810-150604
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/J4269-90032/J4269-90032_top.html&con=/hpux/onlinedocs/J4269-90032/00/00/10-con.html&toc=/hpux/onlinedocs/J4269-90032/00/00/10-toc.html&searchterms=SSL%7cconfiguration%7cLDAP&queryid=20040810-150604
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2004 10:46 AM
08-10-2004 10:46 AM
Solution1 - Change the port for the preferred servers:
preferredserverlist: 192.1.1.1:686
2 - Tell the ldap-ux client to use TLS by modifying the authenticationMethod attribute:
authenticationMethod=tls:simple
You'll also need the CA's cert in Netscape certificate database files, cert7.db and key3.db. These 2 files must be located in the /etc/opt/ldapux directory (or sym links to it).
If you have a PEM/DER encoded cert you can use the /opt/ldapux/contrib/bin/certutil command line tool to create the certificate database files, cert7.db and key3.db:
/opt/ldapux/contrib/bin/certutil -A -n "MY CA" -t TC,TC,TC -i ./ca.pem -d /etc/opt/ldapux
For detailed command options and their arguments, see Using the Certificate Database Tool available at http://www.mozilla.org/projects/security/pki/nss/tools/certutil.html.
Verify the cert DB using ldapsearch:
/opt/ldapux/bin/ldapsearch -h ldapserver -Z -P /etc/opt/ldapux/ -s base -b "" "(objectclass=*)" supportedLDAPVersion
version: 1
dn:
supportedLDAPVersion: 2
supportedLDAPVersion: 3
---
Once the profile has been changed in the Directory, you'll need to download it to all LDAP-UX clients:
/opt/ldapux/config/get_profile_entry -s NSS
## Use -D binddn -w password options if the Directory requires you to authenticate to read the profile entry
Use:
/opt/ldapux/config/display_profile_cache | grep tls to verify the change has been made on the local configuration cache, then restart ldapclientd:
/sbin/init.d/ldapclientd.rc stop
/sbin/init.d/ldapclientd.rc start
You can also checkout the LDAP-UX documentation at:
http://docs.hp.com/hpux/internet/index.html#LDAP-UX%20Integration
Cheers,
Doug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2004 05:57 AM - last edited on 09-16-2024 02:22 AM by support_s
08-12-2004 05:57 AM - last edited on 09-16-2024 02:22 AM by support_s
Re: LDAPUX with SSL/TLS? HOW?
But can ldapux do straight SSL and not TLS eg. IMAPS:// ?
- Tags:
- drive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2004 05:58 AM
08-12-2004 05:58 AM
Re: LDAPUX with SSL/TLS? HOW?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2004 05:40 AM
08-13-2004 05:40 AM
Re: LDAPUX with SSL/TLS? HOW?
However I think I have discovered one thing.
Apparently the process to automatically download the profile can only go over normal LDAP.
Frankly, I was hoping to turn off the unsecure /normal LDAP connections and banish them from our environment.
Is there a way to get the profile download (get_profile..) to also happen over SSL?
If we can do that we will have achieved ldapux nirvana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-13-2004 07:03 AM
08-13-2004 07:03 AM
Re: LDAPUX with SSL/TLS? HOW?
Service: NSS
LDAP_HOSTPORT="127.0.0.1:99999"
PROFILE_ENTRY_DN="cn=ldapuxprofile, ou=profiles, ou=ldap-ux, dc=acme, dc=com"
Then configure stunnel to listen on 127.0.0.1 port 99999 and forward to the real ipaddress and SSL port of your Directory server.
Something like:
# cat stunnel.conf.client
pid = /tmp/stunnel.pid.client
client = yes
RNDfile = /tmp/rand.file
[ldap-ux]
accept = 127.0.0.1:99999
connect = ldap.acme.com:686
# /usr/sbin/stunnel stunnel.conf.client
I have not tested this, but I have used this method to secure LDAP-UX over SSL before LDAP-UX supported SSL (with an older version of stunnel):
http://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,4002,00.html