Ole8700 / openhab

Automatically exported from code.google.com/p/openhab
GNU General Public License v3.0
1 stars 0 forks source link

https (jetty) certificat seems to be old - null password given if you use connectionstring within openhab iphone app #274

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.https://servername:8443/openhab.app?sitemap=meinesitemap
2.null password given - maybe an problem with the certificate - via webaccess 
you can accept this old certificat

What is the expected output? What do you see instead?
* Iphone app: nullpassword given
* web access: Certificate: unkown - nicht vertrauenswürdig - gültig bis: 
08.03.2012 11:37:28

What version of the product are you using? On what operating system?
1.2 - ubuntu 3.2.0-23-generic (32bit) 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04 LTS"

Please provide any additional information below.
Maybe you could provide some short command to generate a new certificate ?

thx

Original issue reported on code.google.com by joea...@gmail.com on 4 May 2013 at 11:29

GoogleCodeExporter commented 9 years ago
Indeed the certifcate expired a year ago.
Thomas, as you created it at the time - could you update it and have a longer 
expiry date?
Not sure, if we need a script to update, because it won't be of much help (as 
long as we provide a non-expired certificate).

Original comment by kai.openhab on 4 May 2013 at 11:48

GoogleCodeExporter commented 9 years ago

Original comment by teichsta on 21 May 2013 at 9:50

GoogleCodeExporter commented 9 years ago

Original comment by kai.openhab on 11 Jun 2013 at 8:04

GoogleCodeExporter commented 9 years ago
I have created a new self-signed certificate that is valid for the next 10 
years, it is in this changeset:
https://code.google.com/p/openhab/source/detail?r=297068bae94b1a439d968a1833ec7e
abe8f46eec

In general, we use standard Jetty mechanisms here. The keystore is located in 
etc/keystore and the certificate can be generated with

keytool -keystore keystore -genkey -keyalg RSA -validity 3650

You can find more details at 
http://wiki.eclipse.org/Jetty/Howto/Configure_SSL#Generating_Key_Pairs_and_Certi
ficates

Original comment by kai.openhab on 11 Jun 2013 at 8:07

GoogleCodeExporter commented 9 years ago

Original comment by kai.openhab on 11 Jun 2013 at 8:08