Operating System - HP-UX
1752577 Members
5517 Online
108788 Solutions
New Discussion юеВ

Re: Enabling SSL (port 636)

 
Michael Ernstoff
Frequent Advisor

Enabling SSL (port 636)

I am following someone else's instructions to configure some HP-UX servers (11.00 and 11.11) to be LDAP clients. This is not something I have any experience with.

I install the depot, and copy the key3.db and cert7.db to /etc/opt/ldapux.
When I run /opt/ldapux/config/setup, if I specifiy port 636 then the setup program just hangs. If I leave the default port number of 389 I can run all of the setup program.
636 does not appear in /etc/services.
What do I need to do to enable SSL?
10 REPLIES 10
Steven E. Protter
Exalted Contributor

Re: Enabling SSL (port 636)

Shalom Michael,

Copy the /etc/services entry from 443 to 636 to start.

Make sure the ssl.conf file listens on port 636 and there are no other firewall products messing with the product.

Restart networking or the whole box and try again.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Michael Ernstoff
Frequent Advisor

Re: Enabling SSL (port 636)

Shalom Steven,

There is no entry for 443 in /etc/services and there are no files called ssl.conf
There must be something not loaded or started that the writer of the document assumed would be loaded.
I expect it will be something really obvious, but I don't really know where to start looking.
Michael Ernstoff
Frequent Advisor

Re: Enabling SSL (port 636)

I should have added:
When I try to connect using
"telnet hostname 636" I get "Unable to connect to remote host: Connection refused"

I think that something very basic is missing. The answer is going to be something simple like "run this command" or "install this depot".
Sameer_Nirmal
Honored Contributor

Re: Enabling SSL (port 636)

Hi,

I suspect SSL is not installed in your server. Check by running
#swlist -l product openssl
If not installed , download it from
http://software.hp.com and install the depot on the server using swinstall.

Port 636 could only be used with you are using SSL protocol.
Michael Ernstoff
Frequent Advisor

Re: Enabling SSL (port 636)

OpenSSL is not installed on the server.
I went to software.hp.com and did a search on OpenSSL and there is a depot for HP-UX 11i only.
Is there a depot available for 11.00?

Re: Enabling SSL (port 636)

Hi,

You can download it from http://mirrors.develooper.com/hpux/downloads.html

Regards,
Sunil
Your imagination is the preview of your life's coming attractions
Michael Ernstoff
Frequent Advisor

Re: Enabling SSL (port 636)

I have now installed OpenSSL, but still have the same problem as before.
I have not been through any configuration of SSL. It is unlikely that my predecessor would have done this without any documentation on it.
I still think that there is something very simple that I must be missing.
Arunvijai_4
Honored Contributor

Re: Enabling SSL (port 636)

You need configure SSL,generate certificates and pass them to clients.
www.openssl.org for more information.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Michael Ernstoff
Frequent Advisor

Re: Enabling SSL (port 636)

The certificates have already been configured on the LDAP server, and copied to this HP-UX client.