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
demandé il y a un an62 vues
Aucune réponse

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions