Hi,
I'm currently working on a REST API using Vibe-d.
Everything worked fine so far. Then I tried to use the SSL context to be secure and use HTTPS.
I generated my key, my certificate and set it up using those three gentle lines:
settings.sslContext = createSSLContext(SSLContextKind.server, SSLVersion.any);
settings.sslContext.usePrivateKeyFile("SSL\\host.key");
settings.sslContext.useCertificateChainFile(`SSL\host.cert`);
I ran this code, then I tried to make a GET request over HTTPS, but then I had an SSL error unknown ca
So I jumped on the Documentation and added the following line:
settings.sslContext.peerValidationMode = SSLPeerValidationMode.none;
But it didn't solve the problem...
Am I missing something?
Thanks