Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14003828
D18181.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
780 B
Referenced Files
None
Subscribers
None
D18181.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D18181: Append the intermediate chain to the "cert" parameter in Aphlict
Attached
Detach File
Event Timeline
Log In to Comment