Search 1.9 billion lines of Odoo code on GitHub

letsencrypt

Author: Therp BV,Tecnativa,Odoo Community Association (OCA)
License: AGPL-3
Branch: 10.0
Repository: 001101/server-tools
Dependencies: base
Languages: PO File (1886, 84.4%), Python (209, 9.4%), XML (32, 1.4%), and reStructuredText (107, 4.8%)
Other branches: 11.0, 8.0, and 9.0
Other repositories: 020cui/server-tools, 0yik/server-tools, 111sree/server-tools, 2FM/server-tools, 50611/server-tools, 5songHb/server-tools, AEK-BKF/server-tools, AITIC/server-tools, AMhadhbi/server-tools, AbdelghaniDr/server-tools, AcruxLab/server-tools, Albin-John/server-tools, AlceConsorcio/server-tools, Alex-Woo/server-tools, Alfa-90/server-tools, AliaTechnologies/server-tools, App247/server-tools, ArkanSystem/server-tools, Artielkami/server-tools, AwesomeFoodCoops/odoo-production, Axon-System/server-tools, BCDR/server-tools, Banetese/server-tools, Benniphx/server-tools, Binariuz/server-tools, BonwareConsulting/server-tools, BradooDev/server-tools, BradooTech/server-tools, Bubbles-IT/server-tools, Burakebf/server-tools, CB-Gran-Canaria/server-tools, CGenie/server-tools, CLVsol/OCA_server-tools, Callino/server-tools, Cedric-Pigeon/server-tools, Cgruppo/server-tools, ChanFeei/server-tools, Chandresh-SerpentCS/server-tools, Change2improve/server-tools, ChinaShrimp/server-tools, CiaranCheng/server-tools, Clear-ICT/server-tools, ClearCorp/oca-server-tools, CodeFishEG/server-tools, Colorlessgold/server-tools, ComitorDevTeam/server-tools, CompassionCH/server-tools, Comunitea/server-tools, Confidere/server-tools, ContrerasTorrez/server-tools, CrazyJET/server-tools, CustomOdoo/server-tools, DITIntl/odoo-production, DITIntl/server-tools, Daniel-CA/server-tools, Danielzhulin/server-tools, Danisan/server-tools, DevMohamedFci/server-tools, Dgaroc/server-tools, Digital5-Odoo/server-tools, Dike90/server-tools, Dobtor-OCA/server-tools, Domatix/server-tools, DucTruongKomit/server-tools, DulingLai/server-tools, EBII/server-tools, ERPLibre/server-tools, ErraticTurtle35/server-tools, EssentNovaTeam/server-tools, Fenkiou/server-tools, FernandoCarlosGarcia/server-tools, FernandoRomera/server-tools, ForgeFlow/server-tools, GSLabIt/server-tools, Gabinete-Digital/server-tools, Gebesa-Dev/server-tools, GleydsonHudson/server-tools, GlobalManager/server-tools, Glue-Software-Engineering-AG/server-tools, Gofekra/server-tools, GowthamKalyan/server-tools, GreyShim/server-tools, Groupe-Informatique-LaCoopSurMer/odoo-production, GrupoAlvamex/server-tools, GuSWRolland/server-tools, Guobower/OCA-server-tools, HardikG/server-tools, HarshalBhoir/server-tools, Hellyna/server-tools, HomerDeoDatu/server-tools, Hothua/server-tools, Idealisconsulting/server-tools, Ingeos/server-tools, Intesco2-0/server-tools, IvanShirokikh/server-tools, Jagdish-Panchal/server-tools, JaimeAvellaneda/server-tools, Jarsa-dev/server-tools, Jarsa/server-tools, JayVora-SerpentCS/server-tools, Jeisonpernia/server-tools, Jesus-Fernandez/server-tools, JibenCL/server-tools, Johnvonthegreat/server-tools, JuaniFreedoo/server-tools, JuniorKRnd/server-tools, Kayuulab/server-tools, Khwarizmiat/server-tools, KimWu/server-tools, Kiplangatdan/server-tools, Koesj/server-tools, KonaERP/server-tools, Korynkai/server-tools, KottmannM/server-tools, LasLabs/server-tools, LevelPrime/server-tools, LlywelynLi/server-tools, LourenzoH/server-tools, MadsackMediaStore/server-tools, Mahmoud-Alaa-Eldeen/server-tools, Manuel-Dellisse/server-tools, MariajMesa/server-tools, MasterBlaster479/server-tools, MathBenTech/server-tools, MediaJockey/server-tools, Mefistous/server-tools, Melodivo/server-tools, MindAndGo/server-tools, MjAbuz/server-tools, Morgana-Madamal/server-tools, MrFangD/server-tools, NGTS-AUS/server-tools, NL66278/server-tools, NaSol/server-tools, NeatNerdPrime/server-tools, NicolasWebDev/server-tools, Noviat/server-tools, Nowheresly/server-tools, Numigi/server-tools, OCA-MUK/server-tools, OCA/server-tools, ORETEK/server-tools, OctoComputer/server-tools, Odoo-Italia-Associazione/server-tools, OdooIndonesia/server-tools, OpenPymeMx/server-tools, Othniel1796/server-tools, Otsokop/odoo-production, OutillageStEtienne/server-tools, PCatinean/server-tools, PESOL/server-tools, PieterPaulussen/server-tools, PlanetaTIC/server-tools, Ppamungkas/server-tools, PrenorSistemas/server-tools, QubiQ/server-tools, Rad0van/server-tools, RealSolutionsLux/server-tools, Reinhard-sheng/server-tools, RicRichter/server-tools, Richardssen/server-tools, Rona111/server-tools, SHEFFIELDAFRICA/server-tools, SanteLibre/server-tools, Sarfarazsajjad/server-tools, ScopeaFrance/server-tools, SequarSrl/server-tools, SeuMarco/server-tools, SilviaLeonSanchez/server-tools, SilvioGregorini/server-tools, SimoRubi/server-tools, SimoneVagile/server-tools, SokreamPhanqrl/server-tools, SportPursuit/server-tools, StefanRijnhart/server-tools, StephanRozendaal/server-tools, Sunnyshine008/server-tools, Syci-Consulting/server-tools, TDu/server-tools, TRESCLOUD/server-tools, Tecnativa/server-tools, TemosEngenharia/server-tools, Therp/server-tools, Thorncrag/server-tools, TimLai125/server-tools, Tonow-c2c/server-tools, TradePilotLLC/server-tools, UakamiStudio/server-tools, UnknownInfo/server-tools, VanMoof/server-tools, VasiliyKorobatov/server-tools, Vauxoo/server-tools, VisiionSolucionesTecnologicas/server-tools, VitalPet/server-tools, Wadios/server-tools, WiWaG/server-tools, WilldooIT/server-tools, WimSchuiteman/server-tools, X-ANS/server-tools, Yaman-als/server-tools, YannickB/server-tools, YogeshMahera-SerpentCS/server-tools, a0c/server-tools, aadarsh977/server-tools, aaltinisik/server-tools, abakus-it/server-tools, abdulhalim-cu/server-tools, abdulrhmans/server-tools, acsone/server-tools, acsonefho/server-tools, adekock11/server-tools, adhoc-dev/server-tools, adolfoeliazat/server-tools, adriansteel/server-tools, adrienpeiffer/server-tools, agenterp/server-tools, agknz/server-tools, ahilali/server-tools, ahmed3bdelhady88/server-tools, aitorbouzas/server-tools, ajaychauhan727/server-tools, ajayjaviya/server-tools, ajinvn2019/server-tools, akhdaniel/server-tools, akhilpsivan01/server-tools, akretion/server-tools, aktaaf/server-tools, alan80080/server-tools, albertvimlet/server-tools, alecvinent/server-tools, alesisjoan/server-tools, alessavindell/server-tools, alexlafalce/server-tools, alfadil/server-tools, alfieqashwa/server-tools, algiopensource/server-tools, alpham/server-tools, altexcorp/server-tools, altoch/server-tools, amarildogolloshi/server-tools, amcor/server-tools, amebalibre/server-tools, amendoncabh/server-tools, anasallaham/server-tools, anassahmed/server-tools, andriisem/server-tools, angedras/server-tools, angelmoya/server-tools, anhvu-sg/server-tools, anodino-dev/server-tools, ansinaesmejor/server-tools, antilhue/server-tools, antonyrajserpentcs/server-tools, apachesep/server-tools, apertoso/server-tools, apetbiz/server-tools, arafatx/server-tools, area-scm/server-tools, aremili/server-tools, arkhan/server-tools, aroodooteam/server-tools, artux404/server-tools, aryajimbaran/server-tools, ateijelo/server-tools, aurestic/server-tools, avanzosc/server-tools, avoinsystems/server-tools, aymanshow/server-tools, azmeuk/odoo-production, azmeuk/server-tools, azuaby/server-tools, babatoko/odoo-production, bacgdev/server-tools, bacgroup/server-tools, bala07123/server-tools, bangil0/server-tools, baojiwei/server-tools, bealdav/server-tools, beenhere4hours/server-tools, beloeuvre/odoo-production, berpweb/server-tools, bicomm/server-tools, bishalgit/server-tools-1, bistaray/server-tools, bjccdsrlcr/server-tools, blooparksystems/server-tools, bmya/server-tools, bodi000/server-tools, boky1993/server-tools, boutitinizar/server-tools, brain-tec/server-tools, brainbeanapps/server-tools, bud-e/server-tools, bvkl/server-tools, camptocamp/server-tools, captivea-dcr/server-tools, cedvict/server-tools, charyorde/server-tools, chdjdan/server-tools, cheikhousy/server-tools, chenwfal/server-tools, chetanrdhaduk/odoo-production, chianggq/server-tools, claro5/server-tools, cocox/server-tools, codewareuae/server-tools, codewr/server-tools, cogitoweb/server-tools, connect-to-ak/server-tools, coopiteasy/server-tools, corsojulian7/server-tools, cristinamartinrod/server-tools, crnd-inc/server-tools, cubells/server-tools, cuongpk/server-tools, dalal-intellisoft/server-tools, damdam-s/server-tools, damendieta/server-tools, danger89/server-tools, dani-xtendoo/server-tools, danimaribeiro/server-tools, daramousk/server-tools, darmali/server-tools, data-catalysis/server-tools, davidwah/server-tools, ddico/server-tools, ddufresne/server-tools, dek-odoo/server-tools, delgerS/server-tools, demain-supermarche/odoo-production, dennybiasiolli/server-tools, dev-tanvir/server-tools, dev00007/server-tools, devang-dreambits/server-tools, diagramsoftware/server-tools, diegobgl/server-tools, diggy128/server-tools, dipakthapaofficial/server-tools, diverfr/server-tools, dmp16/server-tools, dmsergio/server-tools, dndoanh/server-tools, don-systems/server-tools, dong-z/server-tools, dperaltab/server-tools, dreispt/server-tools, druidoo-dev/server-tools, druidoo/FoodCoops, dsasoftware/server-tools, dsonnet/server-tools, duyhnguyen/server-tools, dvdhinesh/server-tools, dynamicats/server-tools, dzungtran89/odoo-production, eLBati/server-tools, ebirbe/server-tools, ecosoft-odoo/server-tools, edsersolis/server-tools, eezee-it/server-tools, eil00l/server-tools, elicoidal/server-tools, elperrofarelo/server-tools, elvirekemajou/server-tools, emagdalenaC2i/server-tools, enocare/server-tools, erfanjahanshahlo/server-tools, eribowo/server-tools, ermannognan/server-tools, esantos-octagono/server-tools, estevebadia/odoo-production, etobella/server-tools, eversatis/server-tools, ewac-nl/server-tools, exosoftware/oca-server-tools, ezdoo/server-tools, factorlibre/server-tools, falconsoft3d/server-tools, fanha99/server-tools, fashkl/server-tools, felixvillafranca/server-tools, ferdiansahgg/server-tools, findsomeoneyys/server-tools, fjouatte/odoo-production, florian-dacosta/server-tools, flosslab/server-tools, fmdl/server-tools, focusate/oca-server-tools, forkme7/server-tools, foutoucour/server-tools, fslibre/server-tools, gab-net/server-tools, gabrielo77/server-tools, gastonfeng/server-tools, gavindav/server-tools, gdgellatly/server-tools, gitguohao/server-tools, goanzaloo/server-tools, gonxi/server-tools, gordan-cuic/server-tools, grant-thornton/server-tools, grap/server-tools, grindtildeath/server-tools, groventure/server-tools, gswf-sha/server-tools, guandalf/server-tools, guewen/server-tools, gurneyalex/server-tools, gustavovalverde/server-tools, gxbsst/server-tools, gzanelli/server-tools, habbaba/server-tools, haidd/server-tools, halgandd/odoo-production, haryoran04/server-tools, haublang/server-tools, hbrunn/server-tools, hchoog/server-tools, hdb1234/server-tools, henrryyanez/server-tools, hhgabelgaard/server-tools, hibou-io/oca-server-tools, hieulucky111/server-tools, hiisoc/server-tools, hilarak/odoo-production, hilarak/server-tools, hinfo506/server-tools, hippe-67/server-tools, hokhyk/server-tools, holdenrehg/server-tools, hparfr/server-tools, hq8399/server-tools, huntergps/server-tools, hvcabaim/server-tools, i-vyshnevska/server-tools, iRichGit/server-tools, iamyeonhan/server-tools, ibanh/server-tools, ideaspositivas-group/server-tools, igallart/server-tools, igor-mitin/server-tools, ilesh-malani/server-tools, ilmir-k/server-tools, initOS/server-tools, insscn/server-tools, intero-chz/server-tools, invitu/server-tools, ip-candres/server-tools, it-projects-llc/server-tools, itblabla/server-tools, ixor3/server-tools, izzihector/server-tools, j-zaballa/server-tools, jaballate/server-tools, jackxusho/server-tools, jacky82669513/server-tools, janverb/server-tools, jaosss/server-tools, jcarlosmontoya/server-tools, jeanabreu/server-tools, jeanpaul-mupagasi/server-tools, jeroen7s/server-tools, jesmar81/server-tools, jesramirez/server-tools, jhjunior/server-tools, jhoengels/server-tools, jimmyec/server-tools, jmorgannz/server-tools, jnegrete/server-tools, jonathanjbbr/server-tools, joserprieto/server-tools, joshuajan/server-tools, josueBulle/server-tools, josuf567/server-tools, jphatig/server-tools, jriveros/server-tools, julenalgios/server-tools, julianram/server-tools, jweste/odoo-production, jweste/server-tools, kait-avalah/server-tools, kamilmuhammed/server-tools, kamsir/server-tools, kararaMohamed/server-tools, katyukha/server-tools, kelldave/server-tools, kenneth-vkd/server-tools, kevin070982/server-tools, khl2007/server-tools, kholioeg/server-tools, kikopeiro/server-tools, kittiu/server-tools, kmee/server-tools, kos94ok-3D/server-tools, krueger80/server-tools, krunal267/odoo-production, kulius/server-tools, lachouettecoop/odoo-production, lasley/server-tools, lawrencekm/server-tools, leemannd/server-tools, legalsylvain/odoo-production, legalsylvain/server-tools, lembregtse/server-tools, leonidasthe300/server-tools, lfreeke/server-tools, libregob/server-tools, lideritjnma/server-tools, liehu1/server-tools, lilotter45/server-tools, lincersolucoes/oca-server-tools, liweijie0812/server-tools, lnkdel/server-tools, loftwah/server-tools, lonelyleaves/server-tools, loxoalia/server-tools, lubonbvba/server-tools, luistorresm/server-tools, lukebranch/server-tools, magedmnb/server-tools, magnuscolors/server-tools, maherjaballi/server-tools, mamcode/server-tools, marcelomora/server-tools, marionumza/server-tools, mart-e/server-tools, mathieuvatel/odoo-production, maulik-raval/server-tools, max3903/server-tools, mdietrichc2c/server-tools, mehdi-ghezal/server-tools, michotm/server-tools, microcom/server-tools, mikevhe18/server-tools, mikolodz/server-tools, mileo/server-tools, minhyk/server-tools, minorisa/server-tools, mivilsoft/server-tools, mjadily/server-tools, modoolar/server-tools, mohamedhagag/server-tools, molandtoxx/server-tools, monksoftware/server-tools, mozaik-association/server-tools, msdeek/server-tools, mszinte/odoo-production, mulaudzicalvin/odoo-production, mulaudzicalvin/server-tools, multidadosti-erp/server-tools, mvaled/server-tools, myonnet/oca-server-tools, mysticalis/server-tools, nabiforks/server-tools, nabima/server-tools, nadiaafa/server-tools, naousse/server-tools, nathchan/server-tools, nebras-solutions/server-tools, necrodevz/server-tools, nehaksolves/server-tools, netoodoo/server-tools, newtratip/server-tools, nguyenductamlhp/server-tools, nicolasjelincic/server-tools, nilshamerlinck/server-tools, niulinlnc/server-tools, njeudy/server-tools, nodoo/server-tools, novacode-nl/server-tools, novawish/server-tools, nthnnl/odoo-production, ntsirintanis/server-tools, nuobit/server-tools, odof/server-tools, odoo-brazil/server-tools, odoo-etech/server-tools, odoo-modules/odoo-production, odoo247/server-tools, odoobgorg/OCA-server-tools, odooerpdevelopers/server-tools, odoogap/server-tools, odoosoft/server-tools, odoospace/server-tools, omalbastin/server-tools, omatute/server-tools, omerjafer88/server-tools, onaconsulting/server-tools, one2pret/server-tools, onesteinbv/server-tools, ontruck/server-tools, onurugur/server-tools, open-net-sarl/server-tools, open-synergy/server-tools, open2bizz/server-tools, oremacle/server-tools, osbzr/gooderp_extra, osfp-Pakistan/server-tools, osiberp/server-tools, osiell/server-tools, osipaas/server-tools, ovnicraft/server-tools, p-tombez/server-tools, pedrocasi/server-tools, percypalomino/server-tools, petrus-v/odoo-foodcoops, petrus-v/server-tools, phillipstack/server-tools, phucngta/server-tools, phuctranerp/odoo-production, piensom/server-tools, popcomputadores-desenv/server-tools, praxigento/oca-server-tools, presenceverte/server-tools, programadorzurita/server-tools, pscloud/server-tools, pythoner-3k/server-tools, qtheuret/server-tools, quentinDupont/server-tools, rafaelbn/server-tools, raizs/server-tools, ravibhattarai/server-tools, ravishekharco/server-tools, raycollazo/server-tools, rdeheele/server-tools, redcor/server-tools, rekuplex/server-tools, revstech/server-tools, rezaakba123/server-tools, rhobo80/server-tools, richar-osse/server-tools, rifki/server-tools, rihene-abdelwahed/odoo-production, rm-jamotion/server-tools, robertsvx27/server-tools, romendil/server-tools, ronozoro/server-tools, rossasa/server-tools, roussel2nis/server-tools, rousseldenis/server-tools, royalline1/server-tools, rrcfesc/server-tools, rrgaona/server-tools, rsmolyazhenko/server-tools, rsullivan2704/server-tools, rudisulistyo/server-tools, ruifranco/server-tools, rven/server-tools, rwfnf/server-tools, rwsdigital/odoo-server-tools, sadeqamin/server-tools, sailguest/server-tools, saltonmassally/server-tools, sanube/server-tools, savoirfairelinux/server-tools, sc4you/odoo-production, schout-it/server-tools, sebalix/server-tools, selim-b/server-tools, sergiocorato/server-tools, serpentcs-dev1/server-tools, sewisoft/server-tools, shepilov-vladislav/server-tools, siddharth7815/odoo-production, simahawk/server-tools, simone/server-tools, skmezanul/server-tools, skukered/server-tools, skyoj/server-tools, smile-888/server-tools, smurf-U/server-tools, sodexis/server-tools, soeethiha/server-tools, solvosci/server-tools, spacemonkeythe/server-tools, sprevot44/odoo-production, ssaid/server-tools, steingabelgaard/server-tools, striqo/server-tools, subteno-it/server-tools, sunflowerit/server-tools, suningwz/odoo-production, sunshineLhj/server-tools, supercoopbdx/odoo-production, superjiel/server-tools, superquinquin/odoo-production, suprielfath/server-tools, svetbg/server-tools, swbs-co/server-tools, swiguna/server-tools, sylvainvh/server-tools, sysprocesarcastro/server-tools, t-np/server-tools, tafaRU/server-tools, takinobori/oca-server-tools, tansadio/server-tools, tanza9/server-tools, tarteo/server-tools, tedi3231/server-tools, tegin/server-tools, thinkopensolutions/oca-server-tools, thomas-willdooit/server-tools, tirma-sa/server-tools, tmasson/server-tools, tongjiou/server-tools, tqngoc/server-tools, traviswaelbro/server-tools, trevi-software/server-tools, trobz/odoo-production, tschanzt/server-tools, tsengeagle/server-tools, tstonis/server-tools, ttpphuctran/odoo-production, tuanna7593/server-tools, tusharkwagh99/server-tools, unitek-solusi/OCA-server-tools, ursais/server-tools, valenciaricardos/server-tools, valentinthirion/server-tools, valmarnet/server-tools, vcloud9ray/server-tools, vdedyukhin/server-tools, ventor-tech/server-tools, versada/server-tools, victoralmau/server-tools, victormmtorres/server-tools, vidtsin/odoo-production, vinaybhawsar/server-tools, vmelnych/server-tools, wellyz/server-tools, westlyou/server-tools, widiana/server-tools, wilcobergacker/server-tools, willmakenoise/server-tools, wmr049/server-tools, wowerliu/server-tools, wuhuizhong/server-tools, www3838438/server-tools, xAlphaOmega/server-tools, xavier-dass/server-tools, xcgd/server-tools, xguerra/server-tools, xhair/server-tools, xichun/server-tools, xie8899/server-tools, xtjie/server-tools, xuanmu/server-tools, xwh123807/server-tools, xwh1238070/server-tools, yalabsio/server-tools, yangjizhou/server-tools, ycp1015/server-tools, yelizariev/server-tools, ygdmxy/server-tools, yogakumboro/server-tools, yogesh-serpentcs/server-tools, ypapouin/server-tools, yuntux/odoo-production, yuriqp/server-tools, yusniermatos/server-tools, yuzhengxing/server-tools, yvaucher/server-env, yvaucher/server-tools, zakiuu/server-tools, zambee/server-tools, zamberjo/server-tools, zarumaru/server-tools, zeroincombenze/server-tools, zhangshunrao/server-tools, zhaohengzeng/server-tools, zhaohuaw/server-tools, zhujin001032/server-tools, zmakan-p/server-tools, and zmakrelouf/server-tools

<a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.svg"> </a> <a name="request-ssl-certificates-from-letsencrypt-org"></a> <h2>Request SSL certificates from letsencrypt.org</h2> <p>This module was written to have your Odoo installation request SSL certificates from <a class="reference external" href="https://letsencrypt.org">https://letsencrypt.org</a> automatically.</p> <a name="installation"></a> <h3>Installation</h3> <p>After installation, this module generates a private key for your account at letsencrypt.org automatically in <code>$data_dir/letsencrypt/account.key</code>. If you want or need to use your own account key, replace the file.</p> <p>For certificate requests to work, your site needs to be accessible via plain HTTP, see below for configuration examples in case you force your clients to the SSL version.</p> <p>After installation, trigger the cronjob <cite>Update letsencrypt certificates</cite> and watch your log for messages.</p> <p>This addon depends on the <code>openssl</code> binary and the <code>acme_tiny</code> and <code>IPy</code> python modules.</p> <p>For installing the OpenSSL binary you can use your distro package manager. For Debian and Ubuntu, that would be:</p> <blockquote> sudo apt-get install openssl</blockquote> <p>For installing the ACME-Tiny python module, use the PIP package manager:</p> <blockquote> sudo pip install acme-tiny</blockquote> <p>For installing the IPy python module, use the PIP package manager:</p> <blockquote> sudo pip install IPy</blockquote> <a name="configuration"></a> <h3>Configuration</h3> <p>This addons requests a certificate for the domain named in the configuration parameter <code>web.base.url</code> - if this comes back as <code>localhost</code> or the like, the module doesn't request anything.</p> <p>If you want your certificate to contain multiple alternative names, just add them as configuration parameters <code>letsencrypt.altname.N</code> with <code>N</code> starting from <code>0</code>. The amount of domains that can be added are subject to <a class="reference external" href="https://community.letsencrypt.org/t/rate-limits-for-lets-encrypt/6769">rate limiting</a>.</p> <p>Note that all those domains must be publicly reachable on port 80 via HTTP, and they must have an entry for <code>.well-known/acme-challenge</code> pointing to your odoo instance.</p> <a name="usage"></a> <h3>Usage</h3> <p>The module sets up a cronjob that requests and renews certificates automatically.</p> <p>After the first run, you'll find a file called <code>domain.crt</code> in <code>$datadir/letsencrypt</code>, configure your SSL proxy to use this file as certificate.</p> <a class="reference external image-reference" href="https://runbot.odoo-community.org/runbot/149/8.0"><img alt="Try me on Runbot" src="https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas" /></a> <p>For further information, please visit:</p> <ul class="simple"> <li><a class="reference external" href="https://www.odoo.com/forum/help-1">https://www.odoo.com/forum/help-1</a></li> </ul> <a name="in-depth-configuration"></a> <h3>In depth configuration</h3> <p>This module uses <code>openssl</code> to generate CSRs suitable to be submitted to letsencrypt.org. In order to do this, it copies <code>/etc/ssl/openssl.cnf</code> to a temporary and adapts it according to its needs (currently, that's just adding a <code>[SAN]</code> section if necessary). If you want the module to use another configuration template, set config parameter <code>letsencrypt.openssl.cnf</code>.</p> <p>After refreshing the certificate, the module attempts to run the content of <code>letsencrypt.reload_command</code>, which is by default <code>sudo service nginx reload</code>. Change this to match your server's configuration.</p> <p>You'll also need a matching sudo configuration, like:</p> <pre> <code>your_odoo_user ALL = NOPASSWD: /usr/sbin/service nginx reload</code> </pre> <p>Further, if you force users to https, you'll need something like for nginx:</p> <pre> <code>if ($scheme = &quot;http&quot;) { set $redirect_https 1; } if ($request_uri ~ ^/.well-known/acme-challenge/) { set $redirect_https 0; } if ($redirect_https) { rewrite ^ https://$server_name$request_uri? permanent; }</code> </pre> <p>and this for apache:</p> <pre> <code>RewriteEngine On RewriteCond %{HTTPS} !=on RewriteCond %{REQUEST_URI} &quot;!^/.well-known/&quot; RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]</code> </pre> <p>In case you need to redirect other nginx sites to your Odoo instance, declare an upstream for your odoo instance and do something like:</p> <pre> <code>location /.well-known { proxy_pass http://yourodooupstream; }</code> </pre> <p>If you're using a multi-database installation (with or without dbfilter option) where /web/databse/selector returns a list of more than one database, then you need to add <code>letsencrypt</code> addon to wide load addons list (by default, only <code>web</code> addon), setting <code>--load</code> option. For example, <code>--load=web,letsencrypt</code></p> <a name="bug-tracker"></a> <h3>Bug Tracker</h3> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/server-tools/issues">GitHub Issues</a>. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback <a class="reference external" href="https://github.com/OCA/server-tools/issues/new?body=module:%20letsencrypt%0Aversion:%209.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">here</a>.</p> <a name="credits"></a> <h3>Credits</h3> <a name="contributors"></a> <h4>Contributors</h4> <ul class="simple"> <li>Holger Brunn &lt;<a class="reference external" href="mailto:hbrunn&#64;therp.nl">hbrunn&#64;therp.nl</a>&gt;</li> <li>Antonio Espinosa &lt;<a class="reference external" href="mailto:antonio.espinosa&#64;tecnativa.com">antonio.espinosa&#64;tecnativa.com</a>&gt;</li> <li>Dave Lasley &lt;<a class="reference external" href="mailto:dave&#64;laslabs.com">dave&#64;laslabs.com</a>&gt;</li> <li>Ronald Portier &lt;<a class="reference external" href="mailto:ronald&#64;therp.nl">ronald&#64;therp.nl</a>&gt;</li> </ul> <a name="acme-implementation"></a> <h4>ACME implementation</h4> <ul class="simple"> <li><a class="reference external" href="https://github.com/diafygi/acme-tiny/blob/master/acme_tiny.py">https://github.com/diafygi/acme-tiny/blob/master/acme_tiny.py</a></li> </ul> <a name="icon"></a> <h4>Icon</h4> <ul class="simple"> <li><a class="reference external" href="https://helloworld.letsencrypt.org">https://helloworld.letsencrypt.org</a></li> </ul> <a name="maintainer"></a> <h4>Maintainer</h4> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>This module is maintained by the OCA.</p> <p>OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.</p> <p>To contribute to this module, please visit <a class="reference external" href="https://odoo-community.org">https://odoo-community.org</a>.</p>