Customer Portal

HTTPS connection working on Server Console but on on Designer

Comments 4

  • Avatar
    imriskal
    0
    Comment actions Permalink
    The error message contains an URL with an IP address. Do you use the same IP address in the "CloverDX Server URL" field in the connection dialog? And does the CN in your certificate match to the IP address?

    If you have a hostname in the CN, you have to use it in the "CloverDX Server URL" as well. If you have an IP address instead of the hostname, use the same IP address as the "CloverDX Server URL".

    If this does not help, go to "<workspace>/.metadata" directory on the filesystem and share your ".log" and "CloverDX.log" files with me, please.
  • Avatar
    mrmason@us.ibm.com
    0
    Comment actions Permalink
    I created a new jks with the CN as my server IP and used server IP in the server URL field. However the same problem is still occurring.

    I'm unable to find a ".metadata" directory anywhere on the file system. Are you referring to the jboss server logs? Likewise, I see no logs called CloverDX.log after doing a search for the file.
  • Avatar
    mrmason@us.ibm.com
    0
    Comment actions Permalink
    I found the .log file on my local machine (was looking on the server) and found the No subject alternative names present error.

    I was then able to get it working by adding the san option when creating the key store and keeping the host name in the CN field.

    Still not sure why it wasnt working when using the IP in the CN field?

    keytool -genkeypair -alias server -keyalg RSA -keystore ./serverKS.jks -ext san=ip:****** -keypass p4ssw0rd -storepass p4ssw0rd -validity 900 -dname "cn=******, ou=DX, o=Clover, c=CR"
  • Avatar
    imriskal
    0
    Comment actions Permalink
    I dare to quote Atlassian knowledge base:

    No subject alternative names present is caused when accessing an application over HTTPS by using the IP address on the URL rather than the domain contained in the remote SSL certificate and the SSL certificate being fetched does not contain the Subject Alternative Name (SAN) parameter with the matching IP address as an alternative attribute. Java is very strict about enforcing that the certificate contains a SAN entry for the IP address, if that is how it's being accessed.


    Source: https://confluence.atlassian.com/stashkb/no-subject-alternative-names-693896719.html

Please sign in to leave a comment.