Search
j0ke.net Open Build Service
>
Projects
>
home:jg
:
projects
:
monitoring
>
monit
> create_monit_ssl.sh
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File create_monit_ssl.sh of Package monit
#!/bin/bash openssl genrsa \ -out /etc/monit_ssl_key.pem 1024 openssl req -batch -new \ -key /etc/monit_ssl_key.pem \ -out /etc/monit_ssl_cert.csr openssl x509 -req -days 999 \ -in /etc/monit_ssl_cert.csr \ -signkey /etc/monit_ssl_key.pem \ -out /etc/monit_ssl_cert.pem