Index: trunk/src/org/openstreetmap/josm/tools/PlatformHookUnixoid.java
===================================================================
--- trunk/src/org/openstreetmap/josm/tools/PlatformHookUnixoid.java	(revision 13692)
+++ trunk/src/org/openstreetmap/josm/tools/PlatformHookUnixoid.java	(revision 13693)
@@ -402,9 +402,11 @@
     public X509Certificate getX509Certificate(NativeCertAmend certAmend)
             throws KeyStoreException, NoSuchAlgorithmException, CertificateException, IOException {
-        File f = new File("/usr/share/ca-certificates/mozilla", certAmend.getFilename());
-        if (f.exists()) {
-            CertificateFactory fact = CertificateFactory.getInstance("X.509");
-            try (InputStream is = Files.newInputStream(f.toPath())) {
-                return (X509Certificate) fact.generateCertificate(is);
+        for (String dir : new String[] {"/etc/ssl/certs", "/usr/share/ca-certificates/mozilla"}) {
+            File f = new File(dir, certAmend.getFilename());
+            if (f.exists()) {
+                CertificateFactory fact = CertificateFactory.getInstance("X.509");
+                try (InputStream is = Files.newInputStream(f.toPath())) {
+                    return (X509Certificate) fact.generateCertificate(is);
+                }
             }
         }
