Opened 5 years ago
Closed 5 years ago
#19844 closed defect (worksforme)
macOS - SecurityException: The jurisdiction policy files are not signed by the expected signer
| Reported by: | Alf | Owned by: | Stereo |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core | Version: | |
| Keywords: | macosx security jurisdiction policy signature | Cc: | Stereo, Alf |
Description
URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2020-09-06 16:54:59 +0200 (Sun, 06 Sep 2020)
Build-Date:2020-09-07 01:30:48
Revision:17013
Relative:URL: ^/trunk
Identification: JOSM/1.5 (17013 en_AU) Mac OS X 10.13.6
OS Build number: Mac OS X 10.13.6 (17G9016)
Memory Usage: 245 MB / 1820 MB (212 MB allocated, but free)
Java version: 1.8.0_261-b12, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Look and Feel: com.apple.laf.AquaLookAndFeel
Screen: Display 69973580 2560x1440 (scaling 1.0x1.0)
Maximum Screen Size: 2560x1440
Best cursor sizes: 16x16 -> 16x16, 32x32 -> 32x32
VM arguments: [-Djava.library.path=/Applications/JOSM.app/Contents/MacOS, -DLibraryDirectory=${HOME}/Library, -DDocumentsDirectory=${HOME}/Documents, -DApplicationSupportDirectory=${HOME}/Library/Application Support, -DCachesDirectory=${HOME}/Library/Caches, -DApplicationDirectory=${HOME}/Applications, -DAutosavedInformationDirectory=${HOME}/Library/Autosave Information, -DDesktopDirectory=${HOME}/Desktop, -DDownloadsDirectory=${HOME}/Downloads, -DMoviesDirectory=${HOME}/Movies, -DMusicDirectory=${HOME}/Music, -DPicturesDirectory=${HOME}/Pictures, -DSharedPublicDirectory=${HOME}/Public, -DSystemLibraryDirectory=/Library, -DSystemApplicationSupportDirectory=/Library/Application Support, -DSystemCachesDirectory=/Library/Caches, -DSystemApplicationDirectory=/Applications, -DSystemUserDirectory=/Users, -DUserHome=${HOME}, -DSandboxEnabled=true, -DLaunchModifierFlags=1048576, -DLaunchModifierFlagCapsLock=false, -DLaunchModifierFlagShift=false, -DLaunchModifierFlagControl=false, -DLaunchModifierFlagOption=false, -DLaunchModifierFlagCommand=true, -DLaunchModifierFlagNumericPad=false, -DLaunchModifierFlagHelp=false, -DLaunchModifierFlagFunction=false, -Dapple.laf.useScreenMenuBar=true, -Dcom.apple.macos.use-file-dialog-packages=true, -Dcom.apple.macos.useScreenMenuBar=true, -Dcom.apple.mrj.application.apple.menu.about.name=JOSM, -Dcom.apple.smallTabs=true]
Plugins:
+ InfoMode
+ PicLayer
+ SimplifyArea
+ apache-commons
+ buildings_tools
+ ejml
+ geotools
+ importvec
+ jaxb
+ jts
+ measurement
+ opendata
+ print
+ splinex
+ terracer
+ undelete
+ utilsplugin2
+ wms-turbo-challenge2
Map paint styles:
- https://josm.openstreetmap.de/josmfile?page=Styles/AddressValidator&zip=1
- https://github.com/bastik/mapcss-tools/raw/osm/mapnik2mapcss/osm-results/mapnik.zip
Last errors/warnings:
- 00003.220 E: Handled by bug report queue: java.lang.ExceptionInInitializerError. Cause: java.lang.SecurityException: Can not initialize cryptographic mechanism. Cause: java.lang.SecurityException: The jurisdiction policy files are not signed by the expected signer! (Policy files are specific per major JDK release.Ensure the correct version is installed.)
=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.
Warning issued by: BugReportExceptionHandler#handleException
=== STACK TRACE ===
Thread: main (1)
java.lang.ExceptionInInitializerError
at javax.crypto.Cipher.getInstance(Cipher.java:518)
at sun.security.ssl.JsseJce.getCipher(JsseJce.java:189)
at sun.security.ssl.SSLCipher.isTransformationAvailable(SSLCipher.java:483)
at sun.security.ssl.SSLCipher.<init>(SSLCipher.java:472)
at sun.security.ssl.SSLCipher.<clinit>(SSLCipher.java:81)
at sun.security.ssl.CipherSuite.<clinit>(CipherSuite.java:67)
at sun.security.ssl.SSLContextImpl.getApplicableSupportedCipherSuites(SSLContextImpl.java:345)
at sun.security.ssl.SSLContextImpl.access$100(SSLContextImpl.java:46)
at sun.security.ssl.SSLContextImpl$AbstractTLSContext.<clinit>(SSLContextImpl.java:577)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at java.security.Provider$Service.getImplClass(Provider.java:1701)
at java.security.Provider$Service.newInstance(Provider.java:1659)
at sun.security.jca.GetInstance.getInstance(GetInstance.java:236)
at sun.security.jca.GetInstance.getInstance(GetInstance.java:164)
at javax.net.ssl.SSLContext.getInstance(SSLContext.java:156)
at org.openstreetmap.josm.io.CertificateAmendment.addMissingCertificates(CertificateAmendment.java:252)
at org.openstreetmap.josm.gui.MainApplication.mainJOSM(MainApplication.java:846)
at org.openstreetmap.josm.gui.MainApplication$3.processArguments(MainApplication.java:277)
at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:714)
Caused by: java.lang.SecurityException: Can not initialize cryptographic mechanism
at javax.crypto.JceSecurity.<clinit>(JceSecurity.java:93)
... 20 more
Caused by: java.lang.SecurityException: The jurisdiction policy files are not signed by the expected signer! (Policy files are specific per major JDK release.Ensure the correct version is installed.)
at javax.crypto.JarVerifier.verifyPolicySigned(JarVerifier.java:336)
at javax.crypto.JceSecurity.loadPolicies(JceSecurity.java:378)
at javax.crypto.JceSecurity.setupJurisdictionPolicies(JceSecurity.java:323)
at javax.crypto.JceSecurity.access$000(JceSecurity.java:50)
at javax.crypto.JceSecurity$1.run(JceSecurity.java:85)
at java.security.AccessController.doPrivileged(Native Method)
at javax.crypto.JceSecurity.<clinit>(JceSecurity.java:82)
... 20 more
Attachments (0)
Change History (15)
comment:1 by , 5 years ago
| Cc: | added |
|---|---|
| Keywords: | macosx added |
| Summary: | This shit has been happening since I updated Java on my Mac → macOS - SecurityException: The jurisdiction policy files are not signed by the expected signer |
comment:3 by , 5 years ago
| Keywords: | security jurisdiction policy signature added |
|---|
follow-up: 6 comment:4 by , 5 years ago
@Alf can you please try the beta build at https://github.com/thomersch/josm/suites/1273850788/artifacts/19650389 and see if it works?
@Don-vip no idea!
comment:6 by , 5 years ago
Replying to Stereo:
@Alf can you please try the beta build at https://github.com/thomersch/josm/suites/1273850788/artifacts/19650389 and see if it works?
"File not found".
comment:7 by , 5 years ago
Yeah, those links expire after a bit. Try the link where it says "JOSM.app revision 17084" at https://github.com/thomersch/josm/actions/runs/289727349
comment:8 by , 5 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → needinfo |
Can you please try with Java 15?
comment:10 by , 5 years ago
| Cc: | added |
|---|
comment:11 by , 5 years ago
| Owner: | changed from to |
|---|---|
| Status: | needinfo → new |
comment:12 by , 5 years ago
You can try the new pre-releases at https://github.com/thomersch/josm/releases
comment:13 by , 5 years ago
| Status: | new → assigned |
|---|
comment:14 by , 5 years ago
Please test the official macOS pre-releases at https://github.com/openstreetmap/josm/releases.
comment:15 by , 5 years ago
| Resolution: | → worksforme |
|---|---|
| Status: | assigned → closed |



@Stereo, any idea what's going on here?