SOAP webspace creation + let's encrypt

Discussion in 'General' started by 4ndr34s, Aug 1, 2017.

  1. 4ndr34s

    4ndr34s New Member

    Hi there,

    i am trying to create a webspace by using the SOAP-API. To be specific i am using the method "sites_web_domain_add" with the correct session & client-id. Below i noted the config-array i am passing also.
    PHP:
    array(
                
    'server_id' => null,
                
    'domain' => null,
                
    'ip_address' => null,
                
    'ipv6_address' => null,
                
    'type' => 'vhost',
                
    'parent_domain_id' => 0,
                
    'vhost_type' => 'name',
                
    'hd_quota' => -1,
                
    'traffic_quota' => -1,
                
    'cgi' => 'n',
                
    'ssi' => 'n',
                
    'suexec' => 'y',

                
    'errordocs' => 0// eigene Fehlerseiten
                
    'is_subdomainwww' => 1,
                
    'subdomain' => 'none',
                
    'php' => 'php-fpm'// PHP-Mode: no/mod/php-fpm
                
    'ruby' => 'n',
                
    'phyton' => 'n',
                
    'perl' => 'n',

                
    'redirect_type' => null,
                
    'redirect_path' => null,
                
    'seo_redirect' => null,
                
    'rewrite_to_https' => 'n',


                
    'ssl' => 'y',
                
    'ssl_letsencrypt' => 'y',
                
    'ssl_state' => '',
                
    'ssl_locality' => '',
                
    'ssl_organisation' => '',
                
    'ssl_organisation_unit' => '',
                
    'ssl_country' => '',
                
    'ssl_domain' => '',
                
    'ssl_request' => '',
                
    'ssl_cert' => '',
                
    'ssl_bundle' => '',
                
    'ssl_key' => '',
                
    'ssl_action' => '',

                
    'stats_password' => '',
                
    'stats_type' => 'webalizer',
                
    'allow_override' => 'All',
                
    'apache_directives' => '',
                
    'nginx_directives' => '',
                
    'php_fpm_use_socket' => 'y',
                
    'pm' => 'dynamic',
                
    'pm_max_children' => '10',
                
    'pm_start_servers' => '2',
                
    'pm_min_spare_servers' => '1',
                
    'pm_max_spare_servers' => '5',
                
    'pm_process_idle_timeout' => '10',
                
    'pm_max_requests' => '0',
                
    'php_open_basedir' => '/',


                
    'custom_php_ini' => '',
                
    'backup_interval' => 'daily',
                
    'backup_copies' => 10,
                
    'active' => 'y',

                
    'traffic_quota_lock' => 'n',

                
    'proxy_directives' => '',
                
    'added_date' => '',
                
    'added_by' =>'ifu',
                
    'http_port' => '80',
                
    'https_port' => '443',
                
    'folder_directive_snippets' => ''
            
    )
    Everything works fine regarding the webspace itself, unfortunately there is no ssl certificate installed after the webspace is created although i set 'ssl' an 'ssl_letsencrypt' to 'y'.
    If i open the webspace in ISPConfig and set the checkbox for letsencrypt manually it works.
    I would swear this worked before. Letsencrypt log shows nothing...
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    use the ispconfig debug mode to find out why it fails.
     

Share This Page