-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(search): add override for validation certificates for testing pu…
…rposes
- Loading branch information
Showing
7 changed files
with
41 additions
and
124 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,25 +1,32 @@ | ||
# An example that treats files as Crypt4GH encrypted. | ||
# Run with `cargo run -p htsget-actix --features crypt4gh,url-storage -- --config crypt4gh.toml` | ||
|
||
ticket_server_addr = "0.0.0.0:8080" | ||
ticket_server_addr = "0.0.0.0:7000" | ||
#data_server_addr = "0.0.0.0:8081" | ||
|
||
[[resolvers]] | ||
regex = ".*" | ||
substitution_string = "$0" | ||
|
||
[resolvers.object_type] | ||
# Specify the keys that htsget will use manually. | ||
# This option specified Crypt4GH files. | ||
send_encrypted_to_client = true | ||
# Specify the keys that htsget will use manually. These can be commented out to generate keys. | ||
private_key = "data/crypt4gh/keys/bob.sec" # pragma: allowlist secret | ||
public_key = "data/crypt4gh/keys/bob.pub" | ||
|
||
# Or, generate keys for each request. | ||
#object_type = "GenerateKeys" | ||
|
||
[resolvers.storage] | ||
response_url = "https://example.com/" | ||
forward_headers = false | ||
|
||
# Add a custom user agent. | ||
#user_agent = "user-agent" | ||
# Trust invalid certificates. | ||
#danger_accept_invalid_certs = true | ||
|
||
# Add a certificate to the client. | ||
#tls.root_store = "htsget-config/examples/config-files/cert.pem" | ||
|
||
[resolvers.storage.endpoints] | ||
file = "https://example.com/" | ||
index = "https://example.com/" |
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