letsencrypt remoting api

Discussion in 'General' started by botnet23, Sep 1, 2018.

  1. botnet23

    botnet23 New Member

    Hello, is there API config option to create new letsenrypt certificate for subdomain?
    I am currently struggling to find it.
    With following array I am able to fill only SSL key in iSpconfig subdomain "SSL" administration, but SSL request and SSL certificate inputs remain blank. ALso Let's Encrypt SSL checkbox under "Domain" settings remains unchecked.

    Can you please help me to fill this array to get it working correctly?

    sites_web_domain_add.php

    $params = array(
    'server_id' => 1,
    'ip_address' => '*',
    'domain' => $subdomain,
    'type' => 'vhost',
    'parent_domain_id' => 0,
    'vhost_type' => 'name',
    'hd_quota' => 250,
    'traffic_quota' => -1,
    'cgi' => 'y',
    'ssi' => 'y',
    'suexec' => 'y',
    'errordocs' => 1,
    'is_subdomainwww' => 1,
    'subdomain' => '',
    'php' => 'y',
    'ruby' => 'n',
    'redirect_type' => '',
    'redirect_path' => '',
    'ssl' => 'y',
    'ssl_state' => 'CZ',
    'ssl_locality' => 'Prague',
    'ssl_organisation' => '',
    'ssl_organisation_unit' => 'Infrastructure',
    'ssl_country' => '',
    'ssl_domain' => $subdomain,
    'ssl_request' => '',
    'ssl_key' => '',
    'ssl_cert' => '',
    'ssl_bundle' => '',
    'ssl_action' => 'create',
    'stats_password' => '',
    'stats_type' => 'webalizer',
    'allow_override' => 'All',
    'apache_directives' => '',
    'php_open_basedir' => '/',
    'pm_max_requests' => 0,
    'pm_process_idle_timeout' => 10,
    'custom_php_ini' => '',
    'backup_interval' => '',
    'backup_copies' => 1,
    'active' => 'y',
    'traffic_quota_lock' => 'n',
    'http_port' => '80',
    'https_port' => '443'
    );

    ISPCONFIG 3.1.13
     
  2. botnet23

    botnet23 New Member

    Problem solved by adding:

    'ssl_letsencrypt' => 'y',
     
    Jesse Norell likes this.

Share This Page