Skip to content
New issue

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

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

Already on GitHub? # to your account

imposible to hande tls certificate for http monitor #60

Closed
zylxpl opened this issue Jul 31, 2024 · 0 comments
Closed

imposible to hande tls certificate for http monitor #60

zylxpl opened this issue Jul 31, 2024 · 0 comments

Comments

@zylxpl
Copy link

zylxpl commented Jul 31, 2024

I'm encountering an issue with formatting a TLS certificate in an environment variable for use with the software. Specifically, when I include the certificate with newline characters, I receive warnings for each line of the certificate.
WARN [kuma_client::util] Invalid snippet line:-----BEGIN CERTIFICATE----- WARN [kuma_client::util] Invalid snippet line: 'MIIDdzCCAl+gAwIBAgIEbG9naDANBgkqhkiG9w0BAQsFADCBpjELMAkGA1UEBhMC'
When using \\n to escape new lines, the certificate passed to uptime kuma contains literal \n characters, causing a PEM format error.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant