Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This adds support for launching a https server either using a real CA-issued certificate, or a self-signed certificate generated using OpenSSL. The latter in intended for most testing use cases.
- Loading branch information
Showing
9 changed files
with
611 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,5 @@ scratch | |
*# | ||
\#* | ||
config.json | ||
MANIFEST.json | ||
MANIFEST.json | ||
_certs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,21 @@ | ||
{"host": "web-platform.test", | ||
"external_host": null, | ||
"ports":{"http":[8000, "auto"], | ||
"https":[], | ||
"https":[8443], | ||
"ws":["auto"]}, | ||
"check_subdomains": true, | ||
"log_level":"debug", | ||
"bind_hostname": true} | ||
"bind_hostname": true, | ||
"ssl": {"type": "openssl", | ||
"openssl": { | ||
"openssl_binary": "openssl", | ||
"base_path": "_certs", | ||
"force_regenerate": false | ||
}, | ||
"pregenerated": { | ||
"host_key_path": null, | ||
"host_cert_path": null | ||
}, | ||
"none": {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.