mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-19 07:33:12 +09:00
Reduce number of bits in generated test cert
Add config entry for the number of bits to use in the auto generate TLS certificate for the master server and reduce it to 512 for the integration test. This reduces the time needed to generate the certificate in the integration test.
This commit is contained in:
1 parent
2c855a5846
commit
4f463a8180
3 files changed
+9
No files matched your search
@@ -1155,6 +1155,7 @@ async function startServer() {
|
||||
// Create a self signed certificate if the certificate files doesn't exist
|
||||
if (httpsPort && !await fs.exists(tls_cert) && !await fs.exists(tls_key)) {
|
||||
await generateSSLcert({
|
||||
bits: masterConfig.get("master.tls_bits"),
|
||||
sslCertPath: tls_cert,
|
||||
sslPrivKeyPath: tls_key,
|
||||
doLogging: true,
|
||||
|
||||
Reference in new issue
Block a user