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

Self-Signed Certificates #912

@sprengerst

Description

@sprengerst

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions