Boss lady
DIIDevHeads IoT Integration Server
•Created by Boss lady on 6/7/2024 in #middleware-and-os
Is there a correct way to generate a self-signed certificate for an embedded Linux device
Hey guys Is there a correct way to generate a self-signed certificate for an embedded Linux device that will be compatible with Google Chrome? I have followed the steps provided, but I am encountering errors such as This is probably not the site you are looking for and The site's security certificate is not trusted
openssl req -new > cert.csr
openssl rsa -in privkey.pem -out key.pem
openssl x509 -in cert.csr -out cert.pem -req -signkey key.pem -days 1001
cat key.pem>>cert.pem
Am I missing something? Is this the correct way to build a self-signed certificate?
@Middleware & OS
4 replies