Page MenuHomePhabricator

D18181.diff
No OneTemporary

D18181.diff

diff --git a/support/aphlict/server/aphlict_server.js b/support/aphlict/server/aphlict_server.js
--- a/support/aphlict/server/aphlict_server.js
+++ b/support/aphlict/server/aphlict_server.js
@@ -103,10 +103,9 @@
if (spec['ssl.cert']){
spec['ssl.cert'] = fs.readFileSync(spec['ssl.cert']);
- }
-
- if (spec['ssl.chain']){
- spec['ssl.chain'] = fs.readFileSync(spec['ssl.chain']);
+ if (spec['ssl.chain']){
+ spec['ssl.cert'] += fs.readFileSync(spec['ssl.chain']);
+ }
}
servers.push(spec);
@@ -140,10 +139,6 @@
cert: server['ssl.cert'],
};
- if (server['ssl.chain']) {
- https_config.ca = server['ssl.chain'];
- }
-
http_server = https.createServer(https_config);
} else {
http_server = http.createServer();

File Metadata

Mime Type
text/plain
Expires
Sun, Oct 27, 11:19 AM (3 w, 10 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6752267
Default Alt Text
D18181.diff (780 B)

Event Timeline