forked from jelastic-jps/lets-encrypt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmanifest.jps
More file actions
124 lines (124 loc) · 5.03 KB
/
manifest.jps
File metadata and controls
124 lines (124 loc) · 5.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"jpsVersion": "0.6",
"jpsType": "update",
"build": "201704051057",
"application": {
"id": "letsencrypt-ssl-addon",
"name": "Let's Encrypt Free SSL (beta)",
"categories": [
"apps/dev-and-admin-tools"
],
"targetNodes": {
"nodeType": [
"tomcat6",
"tomcat7",
"tomcat8",
"tomcat85",
"tomcat9",
"tomcat",
"tomee",
"tomee-dockerized",
"glassfish3",
"glassfish4",
"glassfish",
"jetty6",
"apache",
"apache2",
"nginxphp",
"apache2-ruby",
"nginx-ruby",
"nginx",
"nginx-dockerized",
"nginxphp-dockerized",
"haproxy",
"apache-lb",
"varnish",
"varnish-dockerized"
]
},
"version": "1.2",
"homepage": "https://github.com/jelastic-jps/lets-encrypt",
"logo": "https://raw.githubusercontent.com/jelastic-jps/lets-encrypt/master/images/lets-encrypt.png",
"description": {
"text": "<span><b>Let's Encrypt</b> is a free and open Certificate Authority (CA), aimed to simplify and automate processes of browser-trusted SSL certificates issuing and appliance.</span><div>The list of currently supported stacks can be found at <a href='https://github.com/jelastic-jps/lets-encrypt#ssl-configuration-with-jelastic-lets-encrypt-add-on' target='_blank' style='color:#75bd4f'>the link</a>.</div><div class='warning-lower' style='color:#b7c3da'><b>Note:</b> Public IP address will be automatically attached to all nodes within the entry point layer (application server or load balancer).</div>",
"short": "Free tool to configure support of secured SSL connection for an environment, by either internal or custom domain name."
},
"onInstall": [
{
"execScript": {
"type": "js",
"script": "https://raw.githubusercontent.com/jelastic-jps/lets-encrypt/master/scripts/create-installation-script.js",
"params": {
"baseDir": "https://raw.githubusercontent.com/jelastic-jps/lets-encrypt/master/scripts",
"cronTime": "0 3 * * *"
}
}
}
],
"procedures": [
{
"id": "log",
"onCall": {
"log": "${this.message}"
}
},
{
"id": "callScript",
"onCall": {
"execScript": {
"type": "js",
"script": "var p = eval('(' + jelastic.dev.apps.GetApp('${env.appid}').description + ')'); p['${this.action}']=1; return jelastic.dev.scripting.Eval(p.appid, session, p.script, p)"
}
}
}
],
"buttons": [
{
"confirmText": "Do you want to update attached SSL certificate(s)?",
"loadingText": "Updating...",
"procedure": "callScript",
"caption": "Update",
"successText": "SSL certificate files have been successfully updated!"
}
],
"onUninstall": {
"call": [
{
"procedure": "callScript",
"params": {
"action": "uninstall"
}
}
]
},
"settings": {
"fields": [
{
"type": "radio-fieldset",
"name": "extDomain",
"default": "currentDomain",
"values": {
"currentDomain": "Internal Domain - get test (invalid) SSL certificate for testing purposes",
"customDomain": "Custom Domain - get valid SSL certificate for production use<div style='color:#d87800;'>The domains should be already bound to the environment <u><a href='https://docs.jelastic.com/custom-domain-via-cname 'target='_blank'style='color:#d87800;'>via CNAME</a></u> or <u><a href='https://docs.jelastic.com/custom-domain-via-arecord' target='_blank' style='color:#d87800;'>via A Record</a></u></div>"
},
"showIf": {
"customDomain": [
{
"type": "string",
"name": "customDomain",
"regex": "^(([a-zA-Z]{1})|([a-zA-Z]{1}[a-zA-Z]{1})|([a-zA-Z]{1}[0-9]{1})|([0-9]{1}[a-zA-Z]{1})|([a-zA-Z0-9][a-zA-Z0-9-_]{1,61}[a-zA-Z0-9])).([a-zA-Z]{2,6}|[a-zA-Z0-9-]{2,30}.[a-zA-Z]{2,3})",
"caption": {
"en": "Domains"
},
"required": true
}
]
}
}
]
},
"success": {
"text": "Your Let’s Encrypt SSL certificate will remain valid for 90 days. One month before expiration the system will automatically request the certificate update, whilst you'll get the appropriate email notification.<br><br>To perform this operation manually at any time, use the <b>Update</b> option at add-on’s panel.<br><br><div>Useful links:</div><div><a href='https://github.com/jelastic-jps/lets-encrypt#how-to-renew-ssl-certificate' target='_blank'>How to renew SSL certificate</a></div><div><a href='https://docs.jelastic.com/custom-domain-via-cname' target='_blank'>How to bind custom domain via CNAME</a></div><div><a href='https://docs.jelastic.com/custom-domain-via-arecord' target='_blank'>How to bind custom domain via A Record</a></div>"
}
}
}