Good night,
we are facing the following problem:
when the secure element is accessed using the terminal, the web communication no longer works. The same problem can see verified performing multiple web accesses.
In the log I can see this messages:
2023-10-31 14:19:14 nginx: 2023/10/31 14:19:14 [crit] 525#525: *41 SSL_do_handshake() failed (SSL: error:14209044:SSL routines:tls_early_post_process_client_hello:internal error) while SSL handshaking, client: 192.168.1.5, server: 0.0.0.0:443
and in the browser I can see the message: "ERR_SSL_PROTOCOL_ERROR" (image.png in attached).
When I restart nginx, everything works again.
How to reproduce the problem:
1 - start nginx;
2 - open the browser and check that the communication works;
3 - in the terminal execute an openssl command or application that accesses the SE;
4 - refresh the browser (with clean cookies);
(in this point the comunication with the browser do not work anymore)
5 - restart nginx;
6 - refresh the browser (with clean cookies);
(in this point the communication restart to work).
In attached our yocto recipe used to build SE, openssl and nginx configuration (renamed to .txt, becouse the real extention are not supported by the forum).
[root@ABB-da-51-60-aa-06-e3 bin]# nginx -version
nginx version: nginx/1.22.0
[root@ABB-da-51-60-aa-06-e3 bin]# openssl version
OpenSSL 1.1.1l 24 Aug 2021
Thanks in advance,
Cristiane Bellenzier Piaia