diff --git a/bubble-server/src/main/java/bubble/resources/account/AuthResource.java b/bubble-server/src/main/java/bubble/resources/account/AuthResource.java index cf343cb6..bd15f2fb 100644 --- a/bubble-server/src/main/java/bubble/resources/account/AuthResource.java +++ b/bubble-server/src/main/java/bubble/resources/account/AuthResource.java @@ -461,7 +461,7 @@ public class AuthResource { if (type == null) type = CertType.pem; final BubbleNetwork thisNet = configuration.getThisNetwork(); if (thisNet == null) return die("getCaCert: thisNetwork was null"); - final File certFile = new File(CACERTS_DIR, thisNet.getNetworkDomain()+"."+type.name()); + final File certFile = new File(CACERTS_DIR, thisNet.getNetworkDomain()+"-ca-cert."+type.name()); if (!certFile.exists()) return notFound(type.name()); return send(new FileSendableResource(certFile).setForceDownload(true)); }