Generate a self signed certificate without prompt

openssl req -x509 -sha256 -nodes -days 365 -newkey rsa:4096 -subj "/C=FR/ST=Bretagne/L=Rennes/O=MyCompany/CN=gitlab

" -keyout /srv/ssl/domain.key -out /srv/ssl/certificate.crt