RitterHou commented on PR #10771:
URL: https://github.com/apache/apisix/pull/10771#issuecomment-1903579311

   I have found the reason for this error, the SSL key encryption must check 
whether the key is started with `---`, if the key is not started with `---`, 
the encryption will not work and the origin SSL key will be returned. However, 
the `data encryption` doesn't have this limit. If I add the check of the 
prefix, the SSL key check will be ok, but the data encryption will never work 
because it doesn't have a `---` prefix. But if I remove the check, the SSL key 
encryption will have the error I mentioned before.
   
   Can you help me to solve this problem? @monkeyDluffy6017
   
   > @RitterHou I think the error is imported by your modifications 
![image](https://private-user-images.githubusercontent.com/9354193/297979284-bd4d8f56-835d-4f2a-b88f-1a4927d03b11.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MDU4OTQ2ODEsIm5iZiI6MTcwNTg5NDM4MSwicGF0aCI6Ii85MzU0MTkzLzI5Nzk3OTI4NC1iZDRkOGY1Ni04MzVkLTRmMmEtYjg4Zi0xYTQ5MjdkMDNiMTEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDEyMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDAxMjJUMDMzMzAxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NDUxM2MxOTNmZjE5Y2RlMmVlN2I5YWJlMmNjOGM5YmViNjhmZTQ5MTcxY2IxOTViZjUwYWVlNTFjZjVjN2Y0YyZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.IREQpUEETev0qxNjJ3PUf8PDssO3dIeZr4HsindUjZo)
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to