mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-24 22:40:55 +01:00
07fc8f17cc
Summary: Fixes T10806. Although browsers don't seem to care about this, it's more correct to support it, and the new test console uses normal `cURL` and does care. Test Plan: - Hit the error case for providing a chain but no key/cert. - Used `openssl s_client -connect localhost:22280` to connect to local Aphlict servers. - With SSL but no chain, saw `openssl` fail to verify the remote. - With SSL and a chain, saw `openssl` verify the identify of the remote. Reviewers: chad Reviewed By: chad Maniphest Tasks: T10806 Differential Revision: https://secure.phabricator.com/D15709
26 lines
450 B
JSON
26 lines
450 B
JSON
{
|
|
"servers": [
|
|
{
|
|
"type": "client",
|
|
"port": 22280,
|
|
"listen": "0.0.0.0",
|
|
"ssl.key": null,
|
|
"ssl.cert": null,
|
|
"ssl.chain": null
|
|
},
|
|
{
|
|
"type": "admin",
|
|
"port": 22281,
|
|
"listen": "127.0.0.1",
|
|
"ssl.key": null,
|
|
"ssl.cert": null,
|
|
"ssl.chain": null
|
|
}
|
|
],
|
|
"logs": [
|
|
{
|
|
"path": "/var/log/aphlict.log"
|
|
}
|
|
],
|
|
"pidfile": "/var/tmp/aphlict/pid/aphlict.pid"
|
|
}
|