My Oracle Support Banner

Immonitor-access Returns Bad Certificate (Doc ID 2469922.1)

Last updated on JULY 09, 2024

Applies to:

Oracle Communications Messaging Server - Version 8.0.2 and later
Information in this document applies to any platform.

Symptoms


The immonitor-access command returns a "Bad certificate" error, despite the server having a valid certificate using an internal Root CA.

Example:
immonitor-access -S host1.example.com:25 -u test_user -v -T

 
It appears that immonitor-access is having some confusion with the subject or alt name in the certificate of the server it is connecting to.

It only happens when connecting to a different server. If this same command is issued locally on the same server, it does not give the error.

The problem is not specific to any one server -- if you connect to the name of the same server you are on, it works fine.
If you connect to a different server, you get "requested domain name does not match the server's certificate".

Also note that it is just a warning. immonitor-access does seem to go ahead and use TLS and sends the message.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.