Browse Source

fix cert file path

tags/v0.9.4
Jonathan Cobb 4 years ago
parent
commit
05819d6fd1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bubble-server/src/main/java/bubble/resources/account/AuthResource.java

+ 1
- 1
bubble-server/src/main/java/bubble/resources/account/AuthResource.java View File

@@ -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));
}


Loading…
Cancel
Save