From 2fa18fa93c9d05c3fad917f737d2c508cb5c065a Mon Sep 17 00:00:00 2001 From: Emerson Felipe Date: Fri, 22 Nov 2024 19:45:10 +0000 Subject: [PATCH] Removes ssl folder and updates proxbox.service to link to /etc/ssl --- contrib/proxbox.service | 2 +- ssl/proxbox.crt | 24 ------------------------ ssl/proxbox.key | 28 ---------------------------- 3 files changed, 1 insertion(+), 53 deletions(-) delete mode 100644 ssl/proxbox.crt delete mode 100644 ssl/proxbox.key diff --git a/contrib/proxbox.service b/contrib/proxbox.service index 7f09c98..9ea0630 100755 --- a/contrib/proxbox.service +++ b/contrib/proxbox.service @@ -12,7 +12,7 @@ Group=netbox PIDFile=/var/tmp/proxbox.pid WorkingDirectory=/opt/netbox/netbox/netbox-proxbox -ExecStart=/opt/netbox/venv/bin/uvicorn netbox-proxbox.netbox_proxbox.main:app --host 0.0.0.0 --port 8800 --app-dir /opt/netbox/netbox --ssl-keyfile=/opt/netbox/netbox/netbox-proxbox/ssl/proxbox.key --ssl-certfile=proxbox.crt +ExecStart=/opt/netbox/venv/bin/uvicorn netbox-proxbox.netbox_proxbox.main:app --host 0.0.0.0 --port 8800 --app-dir /opt/netbox/netbox --ssl-keyfile=/etc/ssl/proxbox.key --ssl-certfile=/etc/ssl/proxbox.crt Restart=on-failure RestartSec=30 diff --git a/ssl/proxbox.crt b/ssl/proxbox.crt deleted file mode 100644 index 392ab3b..0000000 --- a/ssl/proxbox.crt +++ /dev/null @@ -1,24 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIECzCCAvOgAwIBAgIUdW+lsV6uUnGlq4MpzSgVPYb43TgwDQYJKoZIhvcNAQEL -BQAwgZQxCzAJBgNVBAYTAkJSMRIwEAYDVQQIDAlTYW8tUGF1bG8xDjAMBgNVBAcM -BUNvdGlhMRUwEwYDVQQKDAxOLU11bHRpTWlkaWExIzAhBgNVBAMMGnByb3hib3gu -bm11bHRpZmlicmEuY29tLmJyMSUwIwYJKoZIhvcNAQkBFhZub2NAbm11bHRpZ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1eiLuZB0/uktMjLEBw6LxLoA6pRAMvJSYpZ -sVcM6CMtY/XJDlaU77C3Hk2MD9OKH9dt9JYl6hBwPw== ------END CERTIFICATE----- diff --git a/ssl/proxbox.key b/ssl/proxbox.key deleted file mode 100644 index 12243c5..0000000 --- a/ssl/proxbox.key +++ /dev/null @@ -1,28 +0,0 @@ ------BEGIN PRIVATE KEY----- -MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQClw5Y9c0YI1Dvz -UV+8GuCCWdUvTQmfSHnwFIlaB5pduLCclhEBv0XzpWF6MIkGUIfzvBgess+VEGAX -YZb+DLdnT9VY/nsBgrQAjNVPBTJ/GPAyRuOuDFle2E+rF7VfYfTu+Ak4iigzklRu -NJzBvBAtdhenLI3TSt794+A5bqjFm/GmyjbnyGlf4IeBTD7jNUNzFuLVnuOfFqlV -DEEkYpR0GvJw0tWGFTrTxBJPzEQIaK2I3QD3RKyhNDxlD46M5nwgYf+yNwmmIZ3y -Hx6ykyuw4kD8ioh+/yju0F76jKKMk0ZjnM0/VNd1N/WvPlGkAHdXMcsEYB/Y78Lg -Y3KJ37IfAgMBAAECggEATa2M3vkAzaxe95OfcC+MG6lrHEJWivzUn2uQPc8oSFj+ -8jHkgFQYvKc4OaE65Omh+9ad2uziF7FXxj0mG6Dr5Q7lJFIEZF3SahuU7fW6hxKx -pG3RzcLdsnNdSgjPJoZp1/4FnCgp1Jjy1b3z41l0n0kipmVbhLMmMgWyElfH4OmE -z7GnhmefjQaD+l21Dxf1NAUtXmTkkAIbIswhxg4fibr2zbTZXFT9ZeTA42T1Sv9y -3lGCYLUbrv21ftfSO/ffAzDSJG6kghHSYADmQwZeBcUEFQ+DW9sxwZAZXAaFiNP9 -CsDYrm9P8d2+J4MF38Q4zFQ17Lbj9KFuu6+yISIjkQKBgQDOlcIKse/IAna56DKp -40asRbmI3xymDNLjJXax7+VSSJZEcZhz/YmCND0V2lB8dNA6WH0FjySslrWZp1Pd -yrV1kHI+v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