[% USE Whostmgr; USE NVData; USE CPList; FOR svc_h = data.services; IF svc_h.name == 'ftp'; SET has_ftp = 1; LAST; END; END; #Insert this directly into the page (below). extra_css = BLOCK; INSERT 'sharedcss/sslinstall_optimized.css'; INSERT 'css/ssl_forms_optimized.css'; INSERT 'sharedcss/ssltable_optimized.css'; INSERT 'css/ssltable_optimized.css'; #WHM-specific stuff %] .tab-content { padding:0 20px 20px 20px; } #tabSetInstall { margin-top:20px; } div.installCert { margin-top: 20px; } body.no-reset-links .reset-link { display:none; } [% END; WRAPPER 'master_templates/master.tmpl' theme="yui" app_key='manage_services_ssl_certificates' stylesheets = [ '/yui/datatable/assets/datatable-core.css' '/yui/datatable/assets/datatable.css' Whostmgr.find_file_url('yui/tabview/assets/skins/sam/tabview.css') Whostmgr.find_file_url('css/notify.css') ] scripts = [ Whostmgr.find_file_url('yui/tabview/tabview-min.js') Whostmgr.find_file_url('yui/layout/layout-min.js') Whostmgr.find_file_url('/libraries/jsforge/0.7.0/forge.min.js') Whostmgr.find_file_url('/sharedjs/pkcs12_optimized.js') ] extrastyle = extra_css ; PROCESS '_ajaxapp_styles.tmpl'; PROCESS '_ajaxapp_header.tmpl'; -%] [% ssl_browse_html = BLOCK -%] [% END -%] [% ssl_form_top = BLOCK -%]
[% locale.maketext("Choose one or more services for SSL certificate installation:") %]
[% FOR svc = data.services.sort('description') -%]
[% END -%]
[% END -%]
[% locale.maketext("Use this interface to manage SSL certificates for services other than Apache.") -%]
[% IF has_ftp; SET daemons_notice = locale.maketext('When the system processes a [output,abbr,TLS,Transport Layer Security] [output,abbr,SNI,Server Name Indication] request, the system serves a domain-specific certificate with all services except [output,abbr,FTP,File Transfer Protocol]. If no domain-specific certificate matches the [asis,SNI] request or if the client doesn’t send an [asis,SNI] request, the service uses its default certificate, which you can manage below.'); ELSE; SET daemons_notice = locale.maketext('When a service receives a [output,abbr,TLS,Transport Layer Security] [output,abbr,SNI,Server Name Indication] request, the service tries to serve a certificate that matches that [asis,SNI] request. If no such certificate exists or if the client doesn’t send an [asis,SNI] request, the service serves its default certificate, which you can manage below.'); END; -%]
[% PROCESS '_ssl_form_include.tmpl' ssl_browse_html = ssl_browse_html, ssl_form_top = ssl_form_top, -%]
[% PROCESS 'sslinstall_include.tmpl' cert_browser_users = data.users -%] [% PROCESS 'ssltable_include.tmpl' -%] [% PROCESS '_ajaxapp_footer.tmpl' -%] [% END #wrapper -%]