You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5 lines
243 B

  1. #!/bin/bash
  2. DIR="$(realpath $(dirname "$(readlink -f "$0")")/..)"
  3. cd ${DIR}/config/nginx/ssl.d && \
  4. openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -sha256 -days 3650 -nodes -subj \
  5. "/C=XX/ST=RU/L=RU/O=WPS/OU=Dev/CN=test"