mirror of
https://github.com/servo/servo.git
synced 2025-08-09 23:45:35 +01:00
tests/net: Update testing cert.
This commit is contained in:
parent
bcdb82b83f
commit
6eb0143541
3 changed files with 54 additions and 46 deletions
|
@ -510,6 +510,13 @@ fn test_fetch_with_local_urls_only() {
|
|||
assert!(server_response.is_network_error());
|
||||
}
|
||||
|
||||
// NOTE(emilio): If this test starts failing:
|
||||
//
|
||||
// openssl req -x509 -nodes -days 3650 -newkey rsa:2048 \
|
||||
// -keyout resources/privatekey_for_testing.key \
|
||||
// -out resources/self_signed_certificate_for_testing.crt
|
||||
//
|
||||
// And make sure to specify `localhost` as the server name.
|
||||
#[test]
|
||||
fn test_fetch_with_hsts() {
|
||||
static MESSAGE: &'static [u8] = b"";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue