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
질문됨 일 년 전61회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠