[GeoNode-users] Setting SSL in Geonode Docker Error

Alexandre Gacon alexandre.gacon at gmail.com
Thu Sep 16 01:15:23 PDT 2021


If you set the LETSENCRYPT_MODE to "production", the command line send to
certbot does not contain the '--staging' option so the error should not
occur.

Could you check in the container if you find a directory named
/spcgeonode-certificates/production? If not, it means that the environment
var is not set correctly.

Alexandre

Le jeu. 16 sept. 2021 à 10:10, irland fardani <irlan128 at gmail.com> a écrit :

> Hi Alexandre,
> I already add that,after I restart,the error is still the same
>
> On 16 Sep 2021, at 3.06 PM, Alexandre Gacon <alexandre.gacon at gmail.com>
> wrote:
>
> 
> Please give a try with the following setting in your env file
> LETSENCRYPT_MODE=production
>
> Alexandre
>
> Le jeu. 16 sept. 2021 à 10:03, irland fardani <irlan128 at gmail.com> a
> écrit :
>
>> Hi Alexandre,
>> Yes, I did , bu still got an error
>> the issue same with the thread in here
>> certbot fails when using LETSENCRYPT_MODE=staging · Issue #203 ·
>> GeoNode/geonode-project · GitHub
>> <https://github.com/GeoNode/geonode-project/issues/203>
>>
>>
>> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free.
>> www.avg.com
>> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>> <#m_-8748170981055263812_m_6399733074780055146_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>> On Thu, Sep 16, 2021 at 2:54 PM Alexandre Gacon <
>> alexandre.gacon at gmail.com> wrote:
>>
>>> I never tried the staging mode for the SSL. Did you try  with the
>>> production mode instead?
>>>
>>> Le jeu. 16 sept. 2021 à 09:44, irland fardani <irlan128 at gmail.com> a
>>> écrit :
>>>
>>>> Hi, Alexandre
>>>> I`m sorry, because The docker geonode that  I'm using is the version
>>>> 3.2.x
>>>> <image.png>
>>>>
>>>>
>>>> I use the latest version of geonode docker
>>>> . Can anyone help me activate the ssl in geonode in port 8080, I use
>>>> cert from letsencrypt?
>>>> Thanks
>>>>
>>>>
>>>> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free.
>>>> www.avg.com
>>>> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>>>> <#m_-8748170981055263812_m_6399733074780055146_m_-3216880635208856271_m_4989313579081437732_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>>>
>>>> On Thu, Sep 16, 2021 at 2:14 PM Alexandre Gacon <
>>>> alexandre.gacon at gmail.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> 2.4 is a quite old version : don't you have the possibility to work
>>>>> with a more recent one (last stable is 3.2.x)?
>>>>>
>>>>> Alexandre
>>>>>
>>>>> Le jeu. 16 sept. 2021 à 05:49, irland fardani <irlan128 at gmail.com> a
>>>>> écrit :
>>>>>
>>>>>> Dear All,
>>>>>> I install geonode 2.4.1 from docker in rhel 7,
>>>>>> I try to activate the ssl in geonode in port 8080, I use cert from
>>>>>> letsencrypt
>>>>>> When i compose the docker without the https, it run perfectly (I
>>>>>> attached my .env and docker-compose.yml),
>>>>>> but when i configure to the https, it won`t start (failed)
>>>>>> the error is like this
>>>>>>
>>>>>> **Trying to get STAGING certificate*
>>>>>> *--server value conflicts with --staging*
>>>>>>
>>>>>> *Failed to get the certificates !**
>>>>>>
>>>>>> Can somebody give me a clue to solve this problem?
>>>>>> thanks
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Irland Fardani M.T.
>>>>>> +628562257785
>>>>>> +6281223261345
>>>>>> Program Studi Perencanaan Wilayah Kota
>>>>>> <http://planologi.unisba.ac.id/>
>>>>>> Fakultas Teknik <http://planologi.unisba.ac.id/>
>>>>>> Universitas Islam Bandung <http://planologi.unisba.ac.id/>
>>>>>> Hatur Nuhun
>>>>>>
>>>>>>
>>>>>>
>>>>>> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free.
>>>>>> www.avg.com
>>>>>> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
>>>>>> <#m_-8748170981055263812_m_6399733074780055146_m_-3216880635208856271_m_4989313579081437732_m_-2831791442631411523_m_7838770836164611147_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>>>>> _______________________________________________
>>>>>> geonode-users mailing list
>>>>>> geonode-users at lists.osgeo.org
>>>>>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Alexandre Gacon
>>>>>
>>>>
>>>>
>>>> --
>>>> Irland Fardani M.T.
>>>> +628562257785
>>>> +6281223261345
>>>> Program Studi Perencanaan Wilayah Kota <http://planologi.unisba.ac.id/>
>>>> Fakultas Teknik <http://planologi.unisba.ac.id/>
>>>> Universitas Islam Bandung <http://planologi.unisba.ac.id/>
>>>> Hatur Nuhun
>>>>
>>>>
>>>
>>> --
>>> Alexandre Gacon
>>>
>>
>>
>> --
>> Irland Fardani M.T.
>> +628562257785
>> +6281223261345
>> Program Studi Perencanaan Wilayah Kota <http://planologi.unisba.ac.id/>
>> Fakultas Teknik <http://planologi.unisba.ac.id/>
>> Universitas Islam Bandung <http://planologi.unisba.ac.id/>
>> Hatur Nuhun
>>
>>
>
> --
> Alexandre Gacon
>
>

-- 
Alexandre Gacon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20210916/d88fd1fb/attachment-0001.html>


More information about the geonode-users mailing list