Coder Social home page Coder Social logo

zimbrassl's Introduction

Autoupdate Zimbra SSL certifcate script

Установка Let’s encrypt

Идем на сайт https://certbot.eff.org/instructions и устанавливаем certbot под нашу систему

sudo apt-get update
sudo apt-get install software-properties-common
sudo add-apt-repository universe
sudo add-apt-repository ppa:certbot/certbot
sudo apt-get update
sudo apt-get install certbot

Генерация нового сертификата Имя сервера Zimbra: test.my.domain Домен должен быть куплен и доступен извне по имени по портам HTTP (80) и HTTPS (445)

Генерируем сертификат, можно добавить домен с www, если он не настроен, то его можно не генерировать

certbot certonly --standalone -d test.my.domain -d www.test.my.domain

Ставим скрипт на выполнение:

crontab -e
0 3 20 2,4,6,8,10,12 * /opt/zimbra/ssl/update_zimbra_ssl.sh

zimbrassl's People

Contributors

sarge-alex avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.