Modify

Opened 4 months ago

Last modified 27 hours ago

#15748 new defect

Remote control HTTPS stays broken when keystore is unopenable

Reported by: midgard Owned by: team
Priority: normal Milestone: 18.05
Component: Core remotecontrol Version:
Keywords: template_report https certificate Cc:

Description

What steps will reproduce the problem?

  1. Remove preferences.xml (sometimes it gets corrupted and discarded, so this can occur naturally)
  2. remotecontrol/josm.keystore is now useless because the key for it is lost
  3. Open JOSM

What is the expected result?

JOSM discards the keystore, creates a new one.

What happens instead?

JOSM logs the messages below and does not start the remote control over HTTPS. It will never again start over HTTPS until you manually remove the file remotecontrol/josm.keystore.

INFO: RemoteControl::Accepting remote connections on /127.0.0.1:8111
INFO: RemoteControl::Accepting remote connections on /0:0:0:0:0:0:0:1:8111
FINE: java.io.IOException: Keystore was tampered with, or password was incorrect. Cause: java.security.UnrecoverableKeyException: Password verification failed
WARNING: Cannot start IPv4 remotecontrol https server on port 8112: Keystore was tampered with, or password was incorrect
FINE: java.io.IOException: Keystore was tampered with, or password was incorrect. Cause: java.security.UnrecoverableKeyException: Password verification failed
WARNING: Cannot start IPv6 remotecontrol https server on port 8112: Keystore was tampered with, or password was incorrect

Please provide any additional information below. Attach a screenshot if possible.

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2017-12-31 03:09:43 +0100 (Sun, 31 Dec 2017)
Build-Date:2017-12-31 02:33:46
Revision:13265
Relative:URL: ^/trunk

Identification: JOSM/1.5 (13265) Linux
Memory Usage: 407 MB / 1749 MB (311 MB allocated, but free)
Java version: 1.8.0_144-b01, Oracle Corporation, OpenJDK 64-Bit Server VM
VM arguments: [-Djosm.restart=true, -Dawt.useSystemAAFontSettings=on]

Plugins:
+ Mapillary (v1.5.9)
+ apache-commons (33668)
+ apache-http (32699)
+ buildings_tools (33735)
+ ext_tools (33889)
+ reverter (33865)
+ tageditor (33806)
+ todo (30303)
+ turnlanes-tagging (260)
+ turnrestrictions (33780)
+ utilsplugin2 (33742)

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
- W: Cannot start IPv4 remotecontrol https server on port 8112: Keystore was tampered with, or password was incorrect
- W: Cannot start IPv6 remotecontrol https server on port 8112: Keystore was tampered with, or password was incorrect

Attachments (0)

Change History (4)

comment:1 Changed 4 months ago by Don-vip

Keywords: https certificate added

See #10033 comments. We're discussing about geting rid of https completely or not.

comment:2 Changed 4 months ago by midgard

Okay, that's fine if it's just for localhost. Just make sure to coordinate with the osm-website guys. ;)

comment:3 Changed 4 months ago by Don-vip

Don't worry we won't remove anything before OSM website :)

comment:4 Changed 27 hours ago by Don-vip

Milestone: 18.05

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to midgard
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.