You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If it works, try removing line by line, until you find the issue. My issue was that the certs are in the home of a user which is not _hitch. Perhaps you have the same issue. I've ended up with only ProtectHome=read-only and it works great this way.
Cant start using service hitch start
`
● hitch.service - Hitch TLS unwrapping daemon
Loaded: loaded (/lib/systemd/system/hitch.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2022-09-02 08:19:15 UTC; 6s ago
Docs: https://github.com/varnish/hitch/tree/master/docs
man:hitch(8)
Process: 1662 ExecStart=/usr/sbin/hitch --user _hitch --group _hitch --config /etc/hitch/hitch.conf --quiet (code=exited, status=1/FAILURE)
Main PID: 1662 (code=exited, status=1/FAILURE)
Sep 02 08:19:15 hitch systemd[1]: hitch.service: Scheduled restart job, restart counter is at 5.
Sep 02 08:19:15 hitch systemd[1]: Stopped Hitch TLS unwrapping daemon.
Sep 02 08:19:15 hitch systemd[1]: hitch.service: Start request repeated too quickly.
Sep 02 08:19:15 hitch systemd[1]: hitch.service: Failed with result 'exit-code'.
Sep 02 08:19:15 hitch systemd[1]: Failed to start Hitch TLS unwrapping daemon.
`
Can start using /usr/sbin/hitch --log-level=3 --config /etc/hitch/hitch.conf
Ubuntu 20.04 running Hitch 1.5.2 Using OpenSSL version 1010106f
20220902T081709.347951 [ 1514] {core} hitch 1.5.2 starting 20220902T081709.348015 [ 1514] {core} Using OpenSSL version 1010106f. 20220902T081709.350039 [ 1514] {core} Listening on 0.0.0.0:443 20220902T081709.350124 [ 1514] {core} Listening on [::]:443 20220902T081709.350141 [ 1514] {core} Loading certificate pem files (1) 20220902T081709.351226 [ 1514] {core} Note: no DH parameters found in /home/hitch/certs/bundle.pem 20220902T081709.351357 [ 1514] {core} ECDH Initialized with NIST P-256 20220902T081709.351911 [ 1514] {core} Loaded cached OCSP staple for cert '/home/hitch/certs/bundle.pem' 20220902T081709.352225 [ 1515] {core} Process 0 online 20220902T081709.352327 [ 1515] {core} Successfully attached to CPU #0 20220902T081709.352350 [ 1516] {core} Process 1 online 20220902T081709.352442 [ 1516] {core} Successfully attached to CPU #1 20220902T081709.352474 [ 1517] {core} Process 2 online 20220902T081709.352592 [ 1518] {core} Process 3 online 20220902T081709.352633 [ 1514] {core} hitch 1.5.2 initialization complete 20220902T081709.352685 [ 1517] {core} Successfully attached to CPU #2 20220902T081709.352811 [ 1519] {ocsp} Refresh of OCSP staple for /home/hitch/certs/bundle.pem scheduled in 425286 seconds 20220902T081709.352907 [ 1518] {core} Successfully attached to CPU #3
The text was updated successfully, but these errors were encountered: