Welcome to Centmin Mod Community
Become a Member

Beta Branch update inc/wpsetup.inc add SSL vhost setup & ssl cert variables

Discussion in 'Centmin Mod Github Commits' started by eva2000, Sep 2, 2015.

Tags:
  1. eva2000

    eva2000 Administrator Staff Member

    30,924
    6,910
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,406
    Local Time:
    9:08 PM
    Nginx 1.13.x
    MariaDB 5.5
    update inc/wpsetup.inc add SSL vhost setup & ssl cert variables

    - updated inc/wpsetup.inc to allow self signed SSL certificate generated vhost like centmin.sh menu option 2
    - updated all vhost self signed SSL certificate routines in inc/nginx_addvhost, tools/nvwp.sh, tools/nv.sh to be able to use preset centmin.sh variables for SSL certificates Country 2 digit code, State, Location (city), Organization and Organizational Unit fields. All are editable via centmin.sh set variables

    ###############################################################
    # Settings for centmin.sh menu option 2 and option 22 for
    # the details of the self-signed SSL certificate that is auto
    # generated. The default values where vhostname variable is
    # auto added based on what you input for your site name
    #
    # -subj "/C=US/ST=California/L=Los Angeles/O=${vhostname}/OU=${vhostname}/CN=${vhostname}"
    #
    # You can only customise the first 5 variables for
    # C = Country 2 digit code
    # ST = state
    # L = Location as in city
    # 0 = organisation
    # OU = organisational unit
    #
    # if left blank # defaults to same as vhostname that is your domain
    # if set it overrides that
    SELFSIGNEDSSL_C='US'
    SELFSIGNEDSSL_ST='California'
    SELFSIGNEDSSL_L='Los Angeles'
    SELFSIGNEDSSL_O=''
    SELFSIGNEDSSL_OU=''
    ###############################################################

    Continue reading...

    123.09beta01 branch
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,924
    6,910
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,406
    Local Time:
    9:08 PM
    Nginx 1.13.x
    MariaDB 5.5