Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/RavenClient.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:

- run: mkdir certs
- run: openssl genrsa -out certs/ca.key 2048
- run: openssl req -new -x509 -key certs/ca.key -out certs/ca.crt -subj "/C=US/ST=Arizona/L=Nevada/O=RavenDB Test CA/OU=RavenDB test CA/CN=localhost/emailAddress=ravendbca@example.com"
- run: openssl req -new -x509 -key certs/ca.key -out certs/ca.crt -subj "/C=US/ST=Arizona/L=Nevada/O=RavenDB Test CA/OU=RavenDB test CA/CN=localhost/emailAddress=ravendbca@example.com" -addext "basicConstraints = CA:TRUE" -addext "keyUsage = digitalSignature,keyCertSign"
- run: openssl genrsa -out certs/localhost.key 2048
- run: openssl req -new -key certs/localhost.key -out certs/localhost.csr -subj "/C=US/ST=Arizona/L=Nevada/O=RavenDB Test/OU=RavenDB test/CN=localhost/emailAddress=ravendb@example.com" -addext "subjectAltName = DNS:localhost"
- run: openssl x509 -req -extensions ext -extfile cert/test_cert.conf -in certs/localhost.csr -CA certs/ca.crt -CAkey certs/ca.key -CAcreateserial -out certs/localhost.crt
Expand Down
2 changes: 2 additions & 0 deletions ravendb/tests/jvm_migrated_tests/https_tests/test_https.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ def test_can_use_server_generated_certificate(self):
tmp = tempfile.mkstemp()
with open(tmp[1], "wb") as file:
file.write(key[0].encode("utf-8"))
file.write(b"\n")
file.write(key[1])
store_with_out_cert.certificate_pem_path = tmp[1]
store_with_out_cert.initialize()
Expand All @@ -196,6 +197,7 @@ def test_should_throw_authorization_exception_when_not_autorized(self):
tmp = tempfile.mkstemp()
with open(tmp[1], "wb") as file:
file.write(key.encode("utf-8"))
file.write(b"\n")
file.write(cert)
store_wit_out_cert.certificate_pem_path = tmp[1]
store_wit_out_cert.initialize()
Expand Down