unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* How to use certbot and REQUEST_CA_BUNDLE
@ 2023-09-05  8:59 Moisés Simón
  2023-09-05 14:39 ` Saku Laesvuori
  0 siblings, 1 reply; 3+ messages in thread
From: Moisés Simón @ 2023-09-05  8:59 UTC (permalink / raw)
  To: help-guix

Hi,

I'm running my own acme server and CA I need to pass REQUEST_CA_BUNDLE env variable to the certbot mcron job.

What would be the best approach to pass this variable to certbot-service that Guix provides?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to use certbot and REQUEST_CA_BUNDLE
  2023-09-05  8:59 How to use certbot and REQUEST_CA_BUNDLE Moisés Simón
@ 2023-09-05 14:39 ` Saku Laesvuori
  2023-09-05 15:36   ` Moisés Simón
  0 siblings, 1 reply; 3+ messages in thread
From: Saku Laesvuori @ 2023-09-05 14:39 UTC (permalink / raw)
  To: Moisés Simón; +Cc: help-guix

[-- Attachment #1: Type: text/plain, Size: 488 bytes --]

On Tue, Sep 05, 2023 at 10:59:21AM +0200, Moisés Simón wrote:
> Hi,
> 
> I'm running my own acme server and CA I need to pass REQUEST_CA_BUNDLE env variable to the certbot mcron job.
> 
> What would be the best approach to pass this variable to certbot-service that Guix provides?

Probably writing a patch for the certbot service, I don't think it's
possible to modify the environment of a service's shepherd job if the
service doesn't provide a configuration option for it.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: How to use certbot and REQUEST_CA_BUNDLE
  2023-09-05 14:39 ` Saku Laesvuori
@ 2023-09-05 15:36   ` Moisés Simón
  0 siblings, 0 replies; 3+ messages in thread
From: Moisés Simón @ 2023-09-05 15:36 UTC (permalink / raw)
  To: help-guix; +Cc: Saku Laesvuori

according to:

https://www.gnu.org/software//mcron/manual/html_node/Guile-Syntax.html#Setting-environment-variables

it is possible to set env variables for mcron jobs in guile, but I am not sure how to glue that in Guix config

5 sept 2023 16:39:49 Saku Laesvuori <saku@laesvuori.fi>:

> On Tue, Sep 05, 2023 at 10:59:21AM +0200, Moisés Simón wrote:
>> Hi,
>> 
>> I'm running my own acme server and CA I need to pass REQUEST_CA_BUNDLE env variable to the certbot mcron job.
>> 
>> What would be the best approach to pass this variable to certbot-service that Guix provides?
> 
> Probably writing a patch for the certbot service, I don't think it's
> possible to modify the environment of a service's shepherd job if the
> service doesn't provide a configuration option for it.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-09-05 15:37 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-05  8:59 How to use certbot and REQUEST_CA_BUNDLE Moisés Simón
2023-09-05 14:39 ` Saku Laesvuori
2023-09-05 15:36   ` Moisés Simón

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).