[ngw] Admin service SSL certificate questions

Morris Blackham Morris.Blackham at microfocus.com
Fri Jun 23 18:22:13 UTC 2017

K,  now I get it.   The PO admin service doesn't accept REST API requests, so it doesn't listen on port 9710.  Only the admin service for domains will accept it.


>>> David Gerisch <DGerisch at co.tulare.ca.us> 6/23/2017 12:02 PM >>>
Hello Morris,

OK, does this make sense?  If the server I am connecting to has an MTA,
then the admin service certificate will be for the domain object of the
MTA, and the chain will go to the CA generated by the primary domain. 
If the server I am connecting to has a POA (but not an MTA), then the
admin service certificate will be for the install certificate, and the
chain likewise.  I'm using "openssl s_client -connect hostname:9710" for


David Gerisch

>>> "Morris Blackham" <Morris.Blackham at microfocus.com> 2017-06-22 11:30
David,  you cannot drop in a third party ca cert for gwadmin service.  

The INSTALL certificate CA is just that,  it's the CA used on a server
when no other GW components are installed.   If everything is setup
properly you should have valid admin CA signed certs for DOM and PO
admin service instances in

I don't think your problem with your script is the issue above.   The
CA cert/key generated by the admin service on initial system create (or
update from 2012) is self-signed.   So depending on what your script
languages is,  you can do one of two things: 

1)  if you don't feel the need to validate the cert, you can find a way
to not validate it.   For example,  if you are using curl in a shell
you can do curl -k .....  -k says to not validate the cert.   Each
scripting lang should have a similar option available

2)  supply the admin ca.crt in your script,  ie, for curl:

	curl -cacert  <pathtoca.cert>

You can get the ca cert a number of ways:

a.  curl -k --user gwadmin:pwd blah  > ca.crt

b.  from a browser:  blah  and it will download the crt

c.  copy from /opt/novell/groupwise/certificates/<hasheddir>/ca.crt

>>> David Gerisch <DGerisch at co.tulare.ca.us> 6/22/2017 11:31 AM >>>
I forgot to mention that the command to check what the server sees is
openssl command.

openssl s_client -host <insert hostname here> -port 9710

After it goes through checking, and reporting what SSL certificates
being used, you will have to hit Control-C to break out.
>>> "David Gerisch" <DGerisch at co.tulare.ca.us> 6/22/2017 10:25 AM >>>
I'm trying to do some scripting against the GroupWise Administration
Service, and I'm running into SSL errors, because my certificates
configured correctly (apparently).  Two questions:

Question 1) If the primary domain admin service certificate has a
common name of CN=TULARE_COUNTY-CA but my post office server admin
service certificate says CN=INSTALL-CA - is that probably the source
my problem?  The post office server says the certificate chain

Certificate chain

and the primary domain admin service certificate is none of those. 
problem that I'm getting is that during the SSL negotiation phase of
connecting to the admin service on the local machine, I get
verify failed".

Question 2) It doesn't look very hard to replace the certificates -
what are the implications / side effects?

It looks like all I have to do is run gwadminutil-certinst per the
documentation.  But I don't know if that's going to cause any
or need any sort of service restarts or such.  Does it affect the way
clients connect to the POA?


David Gerisch

More information about the ngw mailing list