Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant