TLS certificate failing from issuer

1. Output of caddy version:

2.4.6

2. How I run Caddy:

“C:\CaddyV2\caddy.exe” start

a. System environment:

Windows 11 not in docker

b. Command:

Paste command here.

c. Service/unit/compose file:

Paste full file contents here.
Make sure backticks stay on their own lines,
and the post looks nice in the preview pane. -->

d. My complete Caddy config:

`caddy fmt`
{
email email@gmail.com
}
sonarr.website.hopto.org {
    encode gzip
        log {
            output file C:\caddyv2\logs\sonarr_access.log {
                roll true               # Rotate logs, enabled by default
                roll_size_mb 5          # Set max size 5 MB
                roll_gzip true          # Whether to compress rolled files
                roll_local_time true    # Use localhost time
                roll_keep 2             # Keep at most 2 log files
                roll_keep_days 7        # Keep log files for 7 days
            }
        }
    reverse_proxy localhost:8989
}
radarr.website.hopto.org {
    encode gzip
        log {
            output file C:\caddyv2\logs\radarr_access.log {
                roll true               # Rotate logs, enabled by default
                roll_size_mb 5          # Set max size 5 MB
                roll_gzip true          # Whether to compress rolled files
                roll_local_time true    # Use localhost time
                roll_keep 2             # Keep at most 2 log files
                roll_keep_days 7        # Keep log files for 7 days
            }
        }
    reverse_proxy localhost:7878
}
sabnzbd.website.hopto.org {
    encode gzip
        log {
            output file C:\caddyv2\logs\sabnzbd_access.log {
                roll true               # Rotate logs, enabled by default
                roll_size_mb 5          # Set max size 5 MB
                roll_gzip true          # Whether to compress rolled files
                roll_local_time true    # Use localhost time
                roll_keep 2             # Keep at most 2 log files
                roll_keep_days 7        # Keep log files for 7 days
            }
        }
    reverse_proxy localhost:8081
}
  1. The problem I’m having:

4. Error messages and/or full log output:

Paste logs/commands/output here.
logs.txt in the caddy folder is empty
  1. What I already tried:

6. Links to relevant resources:

There must be a mistake; the help template was left mostly empty.

For some reason a lot of the text I had in the template didn’t come through.

This caddyfile works for me:

{
	email email@gmail.com
}
website.hopto.org {
	reverse_proxy /sonarr* localhost:8989
	reverse_proxy /radarr* localhost:7878
	reverse_proxy /sabnzbd* localhost:8081
}

Basically I can’t get my reverse proxy sites to work when I try to go to website.hopto.org I get nowhere. The log file is blank for some reason. I get this error

ERROR   tls.obtain      could not get certificate from issuer   {"identifier": "sonarr.website.org

in the cmd window.

I know very little about this but I’m trying to learn, sorry if I used the wrong terms, etc.

This topic was automatically closed after 30 days. New replies are no longer allowed.