-
Notifications
You must be signed in to change notification settings - Fork 537
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3a0033c
commit edcb677
Showing
36 changed files
with
49 additions
and
49 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
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 +1 @@ | ||
curl --cacert tests_ssl/ca/cert.pem 'https://localhost:8002/hello' | ||
curl --cacert tests_ssl/certs/ca/cert.pem 'https://localhost:8002/hello' |
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,5 +1,5 @@ | ||
Set-StrictMode -Version latest | ||
$ErrorActionPreference = 'Stop' | ||
# Does not work without --ssl-no-revoke | ||
#hurl --cacert tests_ssl/ca/cert.pem tests_ssl/cacert.hurl | ||
#hurl --cacert tests_ssl/certs/ca/cert.pem tests_ssl/cacert.hurl | ||
exit 255 |
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,3 +1,3 @@ | ||
#!/bin/bash | ||
set -Eeuo pipefail | ||
hurl --cacert tests_ssl/ca/cert.pem tests_ssl/cacert.hurl | ||
hurl --cacert tests_ssl/certs/ca/cert.pem tests_ssl/cacert.hurl |
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 +1 @@ | ||
curl --cacert tests_ssl/ca/cert.pem 'https://localhost:8002/hello' | ||
curl --cacert tests_ssl/certs/ca/cert.pem 'https://localhost:8002/hello' |
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,3 +1,3 @@ | ||
Set-StrictMode -Version latest | ||
$ErrorActionPreference = 'Stop' | ||
hurl --cacert tests_ssl/ca/cert.pem --ssl-no-revoke tests_ssl/cacert.hurl | ||
hurl --cacert tests_ssl/certs/ca/cert.pem --ssl-no-revoke tests_ssl/cacert.hurl |
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,5 +1,5 @@ | ||
#!/bin/bash | ||
set -Eeuo pipefail | ||
# --ssl-no-revoke is only available in windows | ||
#hurl --cacert tests_ssl/ca/cert.pem --ssl-no-revoke tests_ssl/cacert.hurl | ||
#hurl --cacert tests_ssl/certs/ca/cert.pem --ssl-no-revoke tests_ssl/cacert.hurl | ||
exit 255 |
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,3 +1,3 @@ | ||
Set-StrictMode -Version latest | ||
$ErrorActionPreference = 'Stop' | ||
hurl --cacert tests_ssl/ca/cert.pem --ssl-no-revoke --json tests_ssl/cacert.hurl | ||
hurl --cacert tests_ssl/certs/ca/cert.pem --ssl-no-revoke --json tests_ssl/cacert.hurl |
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,5 +1,5 @@ | ||
#!/bin/bash | ||
set -Eeuo pipefail | ||
# --ssl-no-revoke is only available in windows | ||
#hurl --cacert tests_ssl/ca/cert.pem --ssl-no-revoke --json tests_ssl/cacert.hurl | ||
#hurl --cacert tests_ssl/certs/ca/cert.pem --ssl-no-revoke --json tests_ssl/cacert.hurl | ||
exit 255 |
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 +1 @@ | ||
curl --cacert tests_ssl/server/cert.selfsigned.pem 'https://localhost:8001/hello' | ||
curl --cacert tests_ssl/certs/server/cert.selfsigned.pem 'https://localhost:8001/hello' |
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,3 +1,3 @@ | ||
Set-StrictMode -Version latest | ||
$ErrorActionPreference = 'Stop' | ||
hurl tests_ssl/cacert_selfsigned.hurl --cacert tests_ssl/server/cert.selfsigned.pem --verbose | ||
hurl tests_ssl/cacert_selfsigned.hurl --cacert tests_ssl/certs/server/cert.selfsigned.pem --verbose |
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,3 +1,3 @@ | ||
#!/bin/bash | ||
set -Eeuo pipefail | ||
hurl tests_ssl/cacert_selfsigned.hurl --cacert tests_ssl/server/cert.selfsigned.pem --verbose | ||
hurl tests_ssl/cacert_selfsigned.hurl --cacert tests_ssl/certs/server/cert.selfsigned.pem --verbose |
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,5 +1,5 @@ | ||
Set-StrictMode -Version latest | ||
$ErrorActionPreference = 'Stop' | ||
# Does not work without --ssl-no-revoke | ||
#hurl --cacert tests_ssl/ca/cert.pem --json tests_ssl/cacert.hurl | ||
#hurl --cacert tests_ssl/certs/ca/cert.pem --json tests_ssl/cacert.hurl | ||
exit 255 |
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,3 +1,3 @@ | ||
#!/bin/bash | ||
set -Eeuo pipefail | ||
hurl --cacert tests_ssl/ca/cert.pem --json tests_ssl/cacert.hurl | ||
hurl --cacert tests_ssl/certs/ca/cert.pem --json tests_ssl/cacert.hurl |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,2 +1,2 @@ | ||
curl --cacert tests_ssl/server/cert.selfsigned.pem --cert tests_ssl/client/cert.pem --key tests_ssl/client/key.pem 'https://localhost:8003/hello' | ||
curl --cacert tests_ssl/certs/server/cert.selfsigned.pem --cert tests_ssl/certs/client/cert.pem --key tests_ssl/certs/client/key.pem 'https://localhost:8003/hello' | ||
|
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,3 +1,3 @@ | ||
#!/bin/bash | ||
set -Eeuo pipefail | ||
hurl tests_ssl/client_authentication.hurl --cacert tests_ssl/server/cert.selfsigned.pem --cert tests_ssl/client/cert.pem --key tests_ssl/client/key.pem --verbose | ||
hurl tests_ssl/client_authentication.hurl --cacert tests_ssl/certs/server/cert.selfsigned.pem --cert tests_ssl/certs/client/cert.pem --key tests_ssl/certs/client/key.pem --verbose |
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 +1 @@ | ||
curl --cacert tests_ssl/server/cert.selfsigned.pem --cert tests_ssl/client/cert.pem:foobar --key tests_ssl/client/encrypted.key.pem 'https://localhost:8003/hello' | ||
curl --cacert tests_ssl/certs/server/cert.selfsigned.pem --cert tests_ssl/certs/client/cert.pem:foobar --key tests_ssl/certs/client/encrypted.key.pem 'https://localhost:8003/hello' |
18 changes: 9 additions & 9 deletions
18
integration/hurl/tests_ssl/client_authentication_password.hurl
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,27 +1,27 @@ | ||
GET https://localhost:8003/hello | ||
[Options] | ||
cacert: tests_ssl/server/cert.selfsigned.pem | ||
cert: tests_ssl/client/cert.pem:foobar | ||
key: tests_ssl/client/encrypted.key.pem | ||
cacert: tests_ssl/certs/server/cert.selfsigned.pem | ||
cert: tests_ssl/certs/client/cert.pem:foobar | ||
key: tests_ssl/certs/client/encrypted.key.pem | ||
HTTP 200 | ||
|
||
# Using variables in filename and password | ||
GET https://localhost:8003/hello | ||
[Options] | ||
variable: filename=tests_ssl/client/cert.pem | ||
variable: filename=tests_ssl/certs/client/cert.pem | ||
variable: password=foobar | ||
cacert: tests_ssl/server/cert.selfsigned.pem | ||
cacert: tests_ssl/certs/server/cert.selfsigned.pem | ||
cert: {{filename}}:{{password}} | ||
key: tests_ssl/client/encrypted.key.pem | ||
key: tests_ssl/certs/client/encrypted.key.pem | ||
HTTP 200 | ||
|
||
# Using variable for combined filename and password | ||
GET https://localhost:8003/hello | ||
[Options] | ||
variable: filename_with_password=tests_ssl/client/cert.pem:foobar | ||
cacert: tests_ssl/server/cert.selfsigned.pem | ||
variable: filename_with_password=tests_ssl/certs/client/cert.pem:foobar | ||
cacert: tests_ssl/certs/server/cert.selfsigned.pem | ||
cert: {{filename_with_password}} | ||
key: tests_ssl/client/encrypted.key.pem | ||
key: tests_ssl/certs/client/encrypted.key.pem | ||
HTTP 200 | ||
|
||
|
6 changes: 3 additions & 3 deletions
6
integration/hurl/tests_ssl/error_client_authentication_password.hurl
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,7 +1,7 @@ | ||
GET https://localhost:8003/hello | ||
[Options] | ||
cacert: tests_ssl/server/cert.selfsigned.pem | ||
cert: tests_ssl/client/cert.pem:toto1234 | ||
key: tests_ssl/client/encrypted.key.pem | ||
cacert: tests_ssl/certs/server/cert.selfsigned.pem | ||
cert: tests_ssl/certs/client/cert.pem:toto1234 | ||
key: tests_ssl/certs/client/encrypted.key.pem | ||
HTTP 200 | ||
|
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,4 +1,4 @@ | ||
curl --insecure 'https://localhost:8001/hello' | ||
curl --insecure 'https://localhost:8001/hello' | ||
curl --cacert tests_ssl/server/cert.selfsigned.pem 'https://localhost:8001/hello' | ||
curl --cacert tests_ssl/certs/server/cert.selfsigned.pem 'https://localhost:8001/hello' | ||
|
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
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