Skip to content

SSL_CONF_PRIVKEY and SSL_CONF_FULLCHAIN #2392

@giovvv

Description

@giovvv

Welcome!

  • Yes, I have searched for similar issues on GitHub and found none.

What did you do?

I have succesfully installed evolution API via docker compose. Now I would like to have my connection protected by SLL.

In .env, I have set:

SERVER_TYPE=https
SERVER_PORT=443
SERVER_URL=https://localhost:443

I already have a wildcard certificate which I would like to use for this. So I have a cert.crt and a cert.key file.

I understand that I have to set in .env the variables SSL_CONF_PRIVKEY and SSL_CONF_FULLCHAIN to point to the two files above. However, it is not clear to me where I have to put the two files, and which path should I to refer to them in the .env file. The documentation about these two variables is non-existing.

I have tried to copy the certificate inside the evolution_api container and tried several paths, but I had no luck; the log of the container always says that the files are not found.

Any help?

Thanks.

What did you expect?

The certificate files should be found.

What did you observe instead of what you expected?

evolution_api cannot find the certificate files

Screenshots/Videos

No response

Which version of the API are you using?

2.3.7

What is your environment?

Linux

Other environment specifications

No response

If applicable, paste the log output

No response

Additional Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions