Cannot get OpenSSL config change to take effect on Lambda AL 2

0

I'm running an PHP application in Lambda using bref.sh. I'm trying to upgrade it to PHP 8.2 and a newer version of bref which includes moving from Amazon Linux 1 to 2, which comes with an upgrade to OpenSSL 2.

One feature of the app is Apple Passbooks, which are no longer working. I'm able to fix this locally by making the changes below to the OpenSSL config to enable debug mode.

I've not been able to get this working when the app is running in Lambda. I've tried a few things to make this work.

  • Including a new config file and including the original
  • Including a complete config file and using the OPENSSL_CONFIG to use it
  • Creating a layer to replace the config file

Nothing I've tried to far has made any difference and I keep getting the same errors.

Can anyone advise how I should go about making this change in the OpenSSL config so that it works?

Thanks

[ openssl_init ]
providers = provider_sect

[ provider_sect ]
default = default_sect
legacy = legacy_sect

[ default_sect ]
activate = 1

[ legacy_sect ]
activate = 1
MC
posta un anno fa61 visualizzazioni
Nessuna risposta

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande