Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Self-Signed Certificates #912

Open
sprengerst opened this issue Apr 23, 2024 · 0 comments
Open

Self-Signed Certificates #912

sprengerst opened this issue Apr 23, 2024 · 0 comments

Comments

@sprengerst
Copy link

sprengerst commented Apr 23, 2024

Hi,

is there a way to use self-signed certificates? I get the following error message:

× Uncaught exception
Environment: win32, node 18.19.0, framework 3.38.0 (local), plugin 7.2.0, SDK 4.5.1
Docs:        docs.serverless.com
Support:     forum.serverless.com
Bugs:        github.com/serverless/serverless/issues

Error:
Error: self-signed certificate
    at TLSSocket.onConnectSecure (node:_tls_wrap:1659:34)
    at TLSSocket.emit (node:events:517:28)
    at TLSSocket.emit (node:domain:489:12)
    at TLSSocket._finishInit (node:_tls_wrap:1070:8)
    at ssl.onhandshakedone (node:_tls_wrap:856:12)

With this configuration:

 s3:
    host: 0.0.0.0
    directory: ./tmp-bucket
    cors: ./cors.xml
    allowMismatchedSignatures: true
    httpsProtocol: cert

Thank you,
Stefan

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant