tmszdmsk / arij

another really interesting Jira client for Android
8 stars 5 forks source link

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

Open mretich opened 10 years ago

mretich commented 10 years ago

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 commented 10 years ago

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

mretich commented 10 years ago

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.comAn"tmszdmsk/arij" arij@noreply.github.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.atWeb:  www.log.at

tmszdmsk commented 10 years ago

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 commented 10 years ago

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 commented 10 years ago

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 commented 10 years ago

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 commented 10 years ago

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