openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout cert.pem -out cert.pem