Skip to content

A script to create or renew a letsencrypt crtificate for a UniFi [Ubiquiti] wifi ontroller on a rasperry pi (use DNS for letsencrypt)

Notifications You must be signed in to change notification settings

uschoen/letsencrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

letsencrypt

A script to create or renew a letsencrypt crtificate for a UniFi [Ubiquiti] wifi ontroller on a rasperry pi (use DNS for letsencrypt)

#Copyright 20202 Ullrich Schoen

Licensed under the Apache License, Version 2.0 (the "License");

you may not use this file except in compliance with the License.

You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software

distributed under the License is distributed on an "AS IS" BASIS,

WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

See the License for the specific language governing permissions and limitations

under the License. The domain for which acme.sh generated/generates a certificate

1)

install acme.sh (as root)

cd acme.sh/

./acme.sh --install \

--home /etc/acme \

--config-home /etc/acme/conf \

--cert-home /etc/acme/cert \

--accountemail "hi@acme.sh" \

--accountkey /etc/acme/conf/myaccount.key \

--accountconf /etc/acme/conf/myaccount.conf

2)

add a crontap job

crontap

0 0 * * * "/home/user/.acme.sh"/acme.sh --cron --home "/home/user/.acme.sh" > /dev/null

*)to uninstall acme.sh (as root)

cd /root/acme.sh/

./acme.sh --uninstall

rm -R /etc/acme

About

A script to create or renew a letsencrypt crtificate for a UniFi [Ubiquiti] wifi ontroller on a rasperry pi (use DNS for letsencrypt)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages