Hi Viktar,
Just to check: you're using the SSL for JIRA add-on, to get JIRA to connect to an external server over SSL, right?
If so, I think you must enter the URL for the host/server you want JIRA to connect to, as mentioned in the wiki here: https://bitbucket.org/jlargman/jira-ssl-plugin/wiki/Home
Sam
Sorry, didn't see @Nic Brough [Adaptavist]'s answer before posting. But I think we are saying the same thing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
12.png
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry Viktar, I don't know if that error is because you still need to copy the certs (as per next steps) and restart. Did you try that?
Beyond that all I can suggest is either:
That's all I know. Hope it helps a bit.
@@Nic Brough [Adaptavist] : would you be kind enough to suggest anything else or point out if I missed anything obvious. Any guidance/tips much appreciated. Thanks, Sam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, my thoughts are wrapped up in limited SSL knowledge, but I'll give it a shot.
When you try to reach an SSL secured website, there's an exchange of security data between the client and the server to enable them to encrypt the connection and secure it from others. Part of this is a list of "trusted authorities" who can be consulted to check that you trust the certificates being used.
When a client (browser, or JIRA process for example) hits a web-site with SSL, it asks for authority information and checks it against its built-in list of authorities. When a browser hits a web-site, it checks certificates and authorities and can add trusted certificates into the built-in list automatically, after prompting the user. JIRA however, does not do that, it just fails because it can't ask a user for permission.
The SSL add-on for JIRA is a simple way to update the certificate list. It visits the site, pulls the certificate/authority stuff it needs and adds it into a new version of the certificate file. You then replace the old cert file with it and restart.
In this case though, it looks like the website being hit by Viktar has different security, and a simple certificate exchange is not enough. I suspect it's further protected by other certificates (probably personal ones). So when the SSL addon asks it for the certs it needs, it's not even getting that far - the site is saying "I won't talk to you at all without the initial certificate". If it is what I think it is, you'd need to get that initial certificate and add it to the java keystore first.
I think the next steps are:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Sam Hall
# keytool -import -file 20170117_jira5.pfx -alias mydomen.net -keystore /opt/atlassian/jira/jre/lib/security
keytool error: java.lang.Exception: Input not an X.509 certificate
# keytool -import -trustcacerts -alias mydomen.net -file 20170117_jira5.pfx -keystore /opt/atlassian/jira/jre/lib/security
keytool error: java.lang.Exception: Input not an X.509 certificate
What s wrong?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The pfx you are giving it is not in a valid format, or isn't a certificate
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As the help says, you enter the ssl-protected site(s) you want to connect to.
Not sure why you've quoted a LDAP string at us or are looking at the content of user certificates
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
To what? They don't go in that import field
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
12.png
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.