Bug: Client certificate file not working
Actual behavior
When trying to configure a sync server requiring mTLS authentication, I can upload the client certificate, but it is not shown in the GUI nor used by MISP for the connection resulting in an Error:
Error: Connection test failed. Reason: curl error 92 'Stream error in the HTTP/2 framing layer': HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)
Expected behavior
After uploading the client certificate file, it should show in the GUI and be used for the connection.
Steps to reproduce
Create MISP-Instance requiring mTLS authentication.
Create second MISP-Instance to sync with first and try to upload appropriate client certificate.
When checking the file-system, the certificate is stored there correctly under /var/www/MISP/app/files/certs/ 1_client.pem. Permissions are correct as well.
Test the connection and observe the error
Version
2.4.194
Operating System
misp-docker image
Operating System version
v2.4.194
PHP version
7.4.33
Browser
Firefox
Browser version
128.0
Relevant log output
Error: Connection test failed. Reason: curl error 92 'Stream error in the HTTP/2 framing layer': HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)
Extra attachments
No response
Code of Conduct
- [X] I agree to follow this project's Code of Conduct