I generated ssl certificate with:
openssl genrsa -out key.pem 2048
openssl req -new -sha256 -key key.pem -out csr.csr
openssl req -x509 -sha256 -days 12775 -key key.pem -in csr.csr -out certificate.pem
but after checking my openssl server with ssllab I got the following invalid message:
How to fix this issue?