🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.privacy.anon-server
9 messages
9 total messages Started by SEC3 Fri, 06 Apr 2018 15:38
LetsEncrypt and renewal process
#298157
Author: SEC3
Date: Fri, 06 Apr 2018 15:38
32 lines
4021 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512


I am in the process of replacing my self-signed TLS certs at
loadmx.net and roance.net email servers and replacing them with
LetsEncrypt certs.

The process went smoothly at loadmx.net because I have a Web server
installed there. This is a requirement for LetEncrypt certs because of
the domain-ownership verification process.

At roance.net I have no Web server installed. My question is: Is the
presence of a Web server still necessary after the initial creation
and installation of the LE certs? That is, does the certificate
renewal process (which is automated via a cronjob) also require a Web
server to be present?


SEC3 Pinger Admin
Contact information at <https://sec3.net>
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEamNOV5zcTx6euiEV3bdNhCrAP2IFAlrHlG0ACgkQ3bdNhCrA
P2IkxggA2Y36DchJxSRL9UdqcBfUTUS/f6n0r3moK041mZVYWZhkW09azhTMVq1a
BG+g9o6aB/V36L41Lk02MZxNXUMwSVIyB1EuooAym8nWCFGmsBP4Y4k2uyBPdvcP
DGl6B1fxUP0PkjRy0y6iclkQKF1avzs8I+FrDdTkm8pWioeHt1Ktrox75W+PmvpZ
jK4LHu64c2bdlFnT+shxAeoKgIEeaZvd5e07CQsiyg+gCLiWqaUwP+MuQsn8cRZh
drCa7fqpu9JQDm/hLIfVgoB6Ms3WsSKVk6mCfdEfnwLF8A3atUKvkxxdVmgPm4ZP
FnchUHqo3Agupaurnwkaag5WKnT6NA==
=XeNe
-----END PGP SIGNATURE-----
Re: LetsEncrypt and renewal process
#298158
Author: Anonymous
Date: Fri, 06 Apr 2018 16:40
27 lines
2064 bytes
SEC3 formulated on Friday :
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
>
> I am in the process of replacing my self-signed TLS certs at
> loadmx.net and roance.net email servers and replacing them with
> LetsEncrypt certs.
>
> The process went smoothly at loadmx.net because I have a Web server
> installed there. This is a requirement for LetEncrypt certs because 
> of the domain-ownership verification process.
>
> At roance.net I have no Web server installed. My question is: Is the
> presence of a Web server still necessary after the initial creation
> and installation of the LE certs? That is, does the certificate
> renewal process (which is automated via a cronjob) also require a Web
> server to be present?
>
  Interesting question.  However, I always receive an email from 
LetsEncrypt letting me know that the cert needs to be renewed.  So you 
could turn on your web server to just renew it.

  A test you could do is after you get the initial cert, shutdown your 
server and execute the forced cert renewal string to see if it will 
update without the web server running.  It will probably only give you 
an error saying that no server avaliable.
Re: LetsEncrypt and renewal process
#298161
Author: Anonymous
Date: Fri, 06 Apr 2018 16:59
44 lines
2593 bytes
Anonymous presented the following explanation :
> SEC3 formulated on Friday :
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA512
>>
>>
>> I am in the process of replacing my self-signed TLS certs at
>> loadmx.net and roance.net email servers and replacing them with
>> LetsEncrypt certs.
>>
>> The process went smoothly at loadmx.net because I have a Web server
>> installed there. This is a requirement for LetEncrypt certs because 
>> of the domain-ownership verification process.
>>
>> At roance.net I have no Web server installed. My question is: Is 
>> the
>> presence of a Web server still necessary after the initial creation
>> and installation of the LE certs? That is, does the certificate
>> renewal process (which is automated via a cronjob) also require a 
>> Web
>> server to be present?
>>
>   Interesting question.  However, I always receive an email from 
> LetsEncrypt letting me know that the cert needs to be renewed.  So 
> you could turn on your web server to just renew it.
>
>   A test you could do is after you get the initial cert, shutdown 
> your server and execute the forced cert renewal string to see if it 
> will update without the web server running.  It will probably only 
> give you an error saying that no server avaliable.

  In addition, you could use a cron to turn on the web server one 
minute before a cert update and turn if off again 5 minutes later.

0 5 * * 1 service nginx stop &> /dev/null
5 5 * * 1 /root/certbot-auto renew &> /dev/null
10 5 * * 1 service nginx start &> /dev/null

Explanation:
5:00am every Monday - start nginx
5:05am every Monday - try to renew cert, will do nothing if not ready 
to
                      be renewed
5:10am every Monday - stop nginx
Re: LetsEncrypt and renewal process
#298162
Author: Anonymous
Date: Fri, 06 Apr 2018 17:00
52 lines
2942 bytes
Anonymous wrote on 4/6/2018 :
> Anonymous presented the following explanation :
>> SEC3 formulated on Friday :
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA512
>>>
>>>
>>> I am in the process of replacing my self-signed TLS certs at
>>> loadmx.net and roance.net email servers and replacing them with
>>> LetsEncrypt certs.
>>>
>>> The process went smoothly at loadmx.net because I have a Web 
>>> server
>>> installed there. This is a requirement for LetEncrypt certs 
>>> because of the domain-ownership verification process.
>>>
>>> At roance.net I have no Web server installed. My question is: Is 
>>> the
>>> presence of a Web server still necessary after the initial 
>>> creation
>>> and installation of the LE certs? That is, does the certificate
>>> renewal process (which is automated via a cronjob) also require a 
>>> Web
>>> server to be present?
>>>
>>   Interesting question.  However, I always receive an email from 
>> LetsEncrypt letting me know that the cert needs to be renewed.  So 
>> you could turn on your web server to just renew it.
>>
>>   A test you could do is after you get the initial cert, shutdown 
>> your server and execute the forced cert renewal string to see if it 
>> will update without the web server running.  It will probably only 
>> give you an error saying that no server avaliable.
>
>   In addition, you could use a cron to turn on the web server one 
> minute before a cert update and turn if off again 5 minutes later.
>
> 0 5 * * 1 service nginx stop &> /dev/null
> 5 5 * * 1 /root/certbot-auto renew &> /dev/null
> 10 5 * * 1 service nginx start &> /dev/null
>
> Explanation:
> 5:00am every Monday - start nginx
> 5:05am every Monday - try to renew cert, will do nothing if not ready 
> to
>                       be renewed
> 5:10am every Monday - stop nginx

Correction:
0 5 * * 1 service nginx start &> /dev/null
5 5 * * 1 /root/certbot-auto renew &> /dev/null
10 5 * * 1 service nginx stop &> /dev/null
Re: LetsEncrypt and renewal process
#298163
Author: Anonymous
Date: Fri, 06 Apr 2018 17:37
21 lines
1652 bytes
SEC3 wrote :
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
>
> I am in the process of replacing my self-signed TLS certs at
> loadmx.net and roance.net email servers and replacing them with
> LetsEncrypt certs.
>
> The process went smoothly at loadmx.net because I have a Web server
> installed there. This is a requirement for LetEncrypt certs because 
> of the domain-ownership verification process.
>
> At roance.net I have no Web server installed. My question is: Is the
> presence of a Web server still necessary after the initial creation
> and installation of the LE certs? That is, does the certificate
> renewal process (which is automated via a cronjob) also require a Web
> server to be present?
>
I asked the question on LE forum.
<https://community.letsencrypt.org/t/is-a-web-server-required-to-renew-a-cert/58813>
Re: LetsEncrypt and renewal process
#298164
Author: SEC3
Date: Fri, 06 Apr 2018 17:41
51 lines
4764 bytes
On 04/06/2018 12:40 PM, Anonymous wrote:

>  A test you could do is after you get the initial cert, shutdown your
> server and execute the forced cert renewal string to see if it will
> update without the web server running.  It will probably only give you
> an error saying that no server avaliable.

After installing Webfs webserver at roance.net I succesfully installed
my new LE certificates.

I then uninstalled Webfs webserver.

I then took your advice and tested whether or not a renewal in 2 months
time would succeed without a Webserver present:

certbot renew --dry-run


root@roxy:~# certbot renew --dry-run
Saving debug log to /var/log/letsencrypt/letsencrypt.log

-------------------------------------------------------------------------------
Processing /etc/letsencrypt/renewal/roxy.roance.net.conf
-------------------------------------------------------------------------------
Cert not due for renewal, but simulating renewal for dry run
Starting new HTTPS connection (1): acme-staging.api.letsencrypt.org
Renewing an existing certificate
Performing the following challenges:
http-01 challenge for roxy.roance.net
Waiting for verification...
Cleaning up challenges
Generating key (2048 bits): /etc/letsencrypt/keys/0002_key-certbot.pem
Creating CSR: /etc/letsencrypt/csr/0002_csr-certbot.pem
** DRY RUN: simulating 'certbot renew' close to cert expiry
**          (The test certificates below have not been saved.)

Congratulations, all renewals succeeded. The following certs have been
renewed:
  /etc/letsencrypt/live/roxy.roance.net/fullchain.pem (success)
** DRY RUN: simulating 'certbot renew' close to cert expiry
**          (The test certificates above have not been saved.)


Success! I really didn't want a Webserver installed at roance.net if I
don't need it. It would only increase the remailer's attack surface. So
better not to have it there at all.

-- 

SEC3 Pinger Admin
Contact information at <https://sec3.net>
Re: LetsEncrypt and renewal process
#298165
Author: SEC3
Date: Fri, 06 Apr 2018 19:15
34 lines
3839 bytes
On 04/06/2018 01:37 PM, Anonymous wrote:
> SEC3 wrote :
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA512
>>
>>
>> I am in the process of replacing my self-signed TLS certs at
>> loadmx.net and roance.net email servers and replacing them with
>> LetsEncrypt certs.
>>
>> The process went smoothly at loadmx.net because I have a Web server
>> installed there. This is a requirement for LetEncrypt certs because of
>> the domain-ownership verification process.
>>
>> At roance.net I have no Web server installed. My question is: Is the
>> presence of a Web server still necessary after the initial creation
>> and installation of the LE certs? That is, does the certificate
>> renewal process (which is automated via a cronjob) also require a Web
>> server to be present?
>>
> I asked the question on LE forum.
> <https://community.letsencrypt.org/t/is-a-web-server-required-to-renew-a-cert/58813>
> 

Thank you for your help.

I'm looking into the dns validation process now. It may be the better
option for my domains that run important web services like sec3.net.


-- 

SEC3 Pinger Admin
Contact information at <https://sec3.net>
Re: LetsEncrypt and renewal process
#298166
Author: Anonymous
Date: Sat, 07 Apr 2018 00:43
31 lines
2144 bytes
SEC3 formulated on Friday :
> On 04/06/2018 01:37 PM, Anonymous wrote:
>> SEC3 wrote :
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA512
>>> 
>>> 
>>> I am in the process of replacing my self-signed TLS certs at
>>> loadmx.net and roance.net email servers and replacing them with
>>> LetsEncrypt certs.
>>> 
>>> The process went smoothly at loadmx.net because I have a Web server
>>> installed there. This is a requirement for LetEncrypt certs because 
>>> of the domain-ownership verification process.
>>> 
>>> At roance.net I have no Web server installed. My question is: Is 
>>> the presence of a Web server still necessary after the initial 
>>> creation and installation of the LE certs? That is, does the 
>>> certificate renewal process (which is automated via a cronjob) also 
>>> require a Web server to be present?
>>> 
>> I asked the question on LE forum.
>> <https://community.letsencrypt.org/t/is-a-web-server-required-to-renew-a-cert/58813>
>> 
>
> Thank you for your help.
>
> I'm looking into the dns validation process now. It may be the better
> option for my domains that run important web services like sec3.net.

  Always enjoy these rare remailer relevant post.
Re: LetsEncrypt and renewal process
#298200
Author: Anonymous
Date: Sat, 07 Apr 2018 11:56
37 lines
2194 bytes
SEC3 expressed precisely :
> On 04/06/2018 01:37 PM, Anonymous wrote:
>> SEC3 wrote :
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA512
>>> 
>>> 
>>> I am in the process of replacing my self-signed TLS certs at
>>> loadmx.net and roance.net email servers and replacing them with
>>> LetsEncrypt certs.
>>> 
>>> The process went smoothly at loadmx.net because I have a Web server
>>> installed there. This is a requirement for LetEncrypt certs because 
>>> of the domain-ownership verification process.
>>> 
>>> At roance.net I have no Web server installed. My question is: Is 
>>> the presence of a Web server still necessary after the initial 
>>> creation and installation of the LE certs? That is, does the 
>>> certificate renewal process (which is automated via a cronjob) also 
>>> require a Web server to be present?
>>> 
>> I asked the question on LE forum.
>> <https://community.letsencrypt.org/t/is-a-web-server-required-to-renew-a-cert/58813>
>> 
>
> Thank you for your help.
>
> I'm looking into the dns validation process now. It may be the better
> option for my domains that run important web services like sec3.net.

  This thread got my interest.  Here are 2 explained methods of getting 
a LE cert without a server:

See: Standalone
Especially see: Manual

https://certbot.eff.org/docs/using.html#id13
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads