{"id":21288061,"url":"https://github.com/iml885203/synologycert2drive","last_synced_at":"2025-03-15T15:26:38.979Z","repository":{"id":77545471,"uuid":"295355429","full_name":"iml885203/SynologyCert2Drive","owner":"iml885203","description":"A script to copy the SSL certs to the docker folder.","archived":false,"fork":false,"pushed_at":"2020-09-14T09:17:38.000Z","size":133,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-22T05:29:33.963Z","etag":null,"topics":["certificate","docker","letsencrypt","script","ssl","synology"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/iml885203.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-14T08:38:38.000Z","updated_at":"2023-05-21T04:42:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"e85e0b35-74cf-4544-9039-86e9426b58f8","html_url":"https://github.com/iml885203/SynologyCert2Drive","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iml885203%2FSynologyCert2Drive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iml885203%2FSynologyCert2Drive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iml885203%2FSynologyCert2Drive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iml885203%2FSynologyCert2Drive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iml885203","download_url":"https://codeload.github.com/iml885203/SynologyCert2Drive/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243748392,"owners_count":20341673,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["certificate","docker","letsencrypt","script","ssl","synology"],"created_at":"2024-11-21T12:18:38.399Z","updated_at":"2025-03-15T15:26:38.973Z","avatar_url":"https://github.com/iml885203.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SynologyCert2Drive\n\u003e A script to copy the SSL certs to the docker folder.\n\n## Description\nCheck that the ssl file has been updated, copy from the synology ssl files to the target folder.\nAnd restart docker container.\n\n## How to use\nDownload this project to synology drive.\n\nCopy `run.sh.example` file.\n```bash\ncp run.sh.example run.sh\n```\n\nSynology use some random alphanumeric name for ssl folder.\n\nUse `root` user to find your synology ssl folder.\n\n`renew.json` will show your `domains` if you find the folder.\n```bash\nsudo su\nls -la /usr/syno/etc/certificate/_archive\ncat /usr/syno/etc/certificate/_archive/{some_folder}/renew.json\n```\n\nEdit variables\n\n```bash\nvim run.sh\n```\n\n```sh\n## Variables\n# path\nSOURCE_PATH=\"/usr/syno/etc/certificate/_archive/your_cert_folder/\"\nTARGET_PATH=\"/volume1/your/target/path/\"\n# verify\nVERIFY_DOMAIN_NAME=\"your.domain\"\n# docker\nDOCKER_CONTAINER=\"container_name_for_restart\"\n```\n\nGo to Synology UI Control Panel \u003e Task Scheduler\n\nCreate \u003e Scheduled Task \u003e User-degined script\n\nselect user to root\n\n![](screenshot/create_task1.png)\n\nCheck `Send run details by email` and `Send run details only when the script terminates abnormally`\n\nwrite command\n```\nbash /your/script/path/run.sh\n```\n\n![](screenshot/create_task2.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiml885203%2Fsynologycert2drive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiml885203%2Fsynologycert2drive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiml885203%2Fsynologycert2drive/lists"}