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
已提问 1 年前61 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则