Closed busma13 closed 7 months ago
None of your tests test that actual yaml
input, does the following actually work like I expected:
caCertificate: |
-----BEGIN CERTIFICATE-----
MIICGTCCAZ+gAwIBAgIQCeCTZaz32ci5PhwLBCou8zAKBggqhkjOPQQDAzBOMQsw
...
-----END CERTIFICATE-----
It works when running teraslice locally with both caCertificate
in the s3 connector and with global_ca_certificate
in the terafoundation. In that case I am using a mkcert cert to connect to an encrypted minio.
Within
createS3Client
thecreateHttpOptions
function will create an object of typehttpsAgentOptions
with an array of CA certificates from the following locations:caCertificate
fieldglobal_ca_certificate
fieldtls.rootCertificates
arrayetc/ssl/certs/ca-certificates.crt
will no longer be used for default root certificates.