Hi All,
Trying to setup jira-cli with a production JIRA instance using SSL. I keep getting the below error when trying to run a CLI command.
Ex: ./jira.sh --action getServerInfo
Client error: Invalid request: javax.net.ssl.SSLProtocolException: handshake alert: unrecognized_name
https://bobswift.atlassian.net/wiki/display/ACLI/How+to+deal+with+https+and+SSL+problems
Above Bobswift documentation suggests that I add a "ServerName" setting in apache configurations. I have added it as below in the httpd.conf file. But i still keep getting that ERROR.
I tried adding below one at a time
ServerName servername:8080
ServerName servername:80
ServerName servername
ServerName ipaddress
Anyone facing similar Issue ?
Thanks for reading
Andrian
Resolved the issue by using
http://localhost:8080 inside the jira.sh file instead of using the domain name, since i was already inside the server.
@Nic Brough [Adaptavist] Thanks Nic for making me realize to use localhost.
If the server is secured with SSL, then yes, you'll need the right certificates, irrespective of source.
I usually terminate SSL at the proxy, so when I'm on the local server, it won't kick in because the proxy handles the ssl.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It looks like you're trying to reach an https based server? You'll need to have the right certificates for that (and it probaby explains why your four server names don't work - none of them are https addresses)
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.