Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

How to connect to a Jira instance over https? #16

Open
mretich opened this issue Oct 28, 2013 · 7 comments
Open

How to connect to a Jira instance over https? #16

mretich opened this issue Oct 28, 2013 · 7 comments

Comments

@mretich
Copy link

mretich commented Oct 28, 2013

Hello!

I try to connect to a Jira instance witch ist only available over https.
It always quits with:
0java.net.SocketTimeoutException: failed to connect to ........... (port 80) after 15000ms.
It looks like it is not trying to connet to https.

Michael Retich

@tmszdmsk
Copy link
Owner

Is your jira instance secured with "valid"(is the padlock green in a browser?) certificate?

@mretich
Copy link
Author

mretich commented Oct 30, 2013

No, we use a self signed certificate on our jira instance.Gesendet von Lotus TravelerTomasz Adamski --- Re: [arij] How to connect to a Jira instance over https? (#16) --- Von:"Tomasz Adamski" notifications@github.heygears.comAn"tmszdmsk/arij" arij@noreply.github.heygears.comCc"mretich" michael.retich@log.atDatum:Mi., 30.10.2013 18:51BetreffRe: [arij] How to connect to a Jira instance over https? (#16)Is your jira instance secured with "valid"(is the padlock green in a browser?) certificate?

—Reply to this email directly or view it on GitHub.          Lösungen aus LeidenschaftMember of the IBM City Cloud InitiativeLOGIN EDV-Software Beratung und Training Ges.m.b.HEmil-Fucik-Gasse 1 / Top 2-11, 1100 WienTel:  +43 1 586 58 97-33               Fax: +43 1 586 58 97-50 Mail:  michael_retich@log.atWebwww.log.at

@tmszdmsk
Copy link
Owner

Ok. I checked it with some jira instance protected by self signed certificate and as I thought there is pretty common SSLHandshakeException.

I created separate issue for featere allowing truststore override - #18

Also I created an alpha release of ariJ 1.3:
https://github.com/tmszdmsk/arij/releases/tag/v1.3.0-alpha1
it includes http/https protocol selector, so you can explicitly decide which protocol to choose.

@tmszdmsk
Copy link
Owner

tmszdmsk commented Nov 4, 2013

I implemented "support" for self signed certificates. I will be very grateful if you could install apk from 1.3.0-alpha2 release and reply if it worked (or not ;).

@mretich
Copy link
Author

mretich commented Nov 4, 2013

Ich kehre zurück am 11.11.2013.

Bitte beachten Sie das ich keine Nachrichten lesen und beantworten kann!
In dringenden Fällen kontaktieren Sie bitte unser Office.
Tel.: +43 1 5865897-0
Mail: office@log.at

Hinweis: Dies ist eine automatische Antwort auf Ihre Nachricht "Re: [arij]
How to connect to a Jira instance over https? (#16)" gesendet am 04.11.2013
22:33:48.

Diese ist die einzige Benachrichtigung, die Sie empfangen werden, während
diese Person abwesend ist.LOGIN EDV-Software Beratung und Training Ges.m.b.H
Emil-Fucik-Gasse 1 / Top 2-11 1100 Wien

Phone: +43 1 586 58 97-33
Fax: +43 1 586 58 97-50
Mobil: Handy number
Mail: michael_retich@log.at
Web: www.log.at

@mretich
Copy link
Author

mretich commented Nov 15, 2013

Hi!

Sorry that it took so long for a answer!

It is not working :(

I receive following error message:

Network error:
retrofit.RetrofitError:
javax.net.ssl.SSLHandshakeException:
java.security.cert.CertPathValidatiorException: Trust anchor for
certification path not found.

Michael

Von: Tomasz Adamski notifications@github.com
An: tmszdmsk/arij arij@noreply.github.com
Kopie: mretich michael.retich@log.at
Datum: 04.11.2013 22:33
Betreff: Re: [arij] How to connect to a Jira instance over https?
(#16)

I implemented "support" for self signed certificates. I will be very
grateful if you could install apk from 1.3.0-alpha2 release and reply if
it worked (or not ;).

Reply to this email directly or view it on GitHub.

LOGIN EDV-Software Beratung und Training Ges.m.b.H
Emil-Fucik-Gasse 1 / Top 2-11 1100 Wien

Phone: +43 1 586 58 97-33
Fax: +43 1 586 58 97-50
Mobil: Handy number
Mail: michael_retich@log.at
Web: www.log.at

@tmszdmsk
Copy link
Owner

No problem at all ;)
In meantime I've found a minor bug in code. Login should work with this apk: https://github.com/tmszdmsk/arij/releases/tag/v1.3.1-SNAPSHOT

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants