Commit 7aeea5f3 authored by Xunnamius (Babylon)'s avatar Xunnamius (Babylon)

added more apt ssl cert path suggestions

parent cc1b3627
......@@ -440,17 +440,14 @@ module.exports = function(grunt)
config: 'ns.tls.cert',
type: 'input',
message: 'Specify the absolute path to a TLS cert (or path to cert/key bundle):',
default: function(){ return '/etc/ssl/certs/wildcard.' + gitlab.prospectiveName + '-unified.crt'; },
when: function(answers){ return answers['ns.tls.confirm'] && !answers['ns.tls.defaults']; },
validate: function(value)
{
certLocation = value;
return force ? true : (value.length > 0);
}
validate: function(value){ return force ? true : (value.length > 0); }
},
{
config: 'ns.tls.key',
type: 'input',
default: function(){ return certLocation; },
default: function(){ return '/etc/ssl/private/wildcard.' + gitlab.prospectiveName + '.key'; },
message: 'Specify the absolute path to a TLS key (repeat if bundled with cert):',
when: function(answers){ return answers['ns.tls.confirm'] && !answers['ns.tls.defaults']; },
validate: function(value){ return force ? true : (value.length > 0); }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment