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年前60ビュー
回答なし

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ