aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/http
diff options
context:
space:
mode:
authorKanagaraj Manickam <mkr1481@gmail.com>2020-02-21 16:40:59 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2020-02-21 16:40:59 +0530
commit85c6cc8a2e99312da893f8dba547137aa1c1c62d (patch)
tree6275fb52cf2146a1ca0711267b23b3db7a8d504d /deployment/http
parentb6e13813e915cc97246a22987004dafddf67d89c (diff)
Enable HTTPS
Issue-ID: OJSI-129 Change-Id: Ida43730821061fae1904bd16b140b0c5f98ddf55 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'deployment/http')
-rw-r--r--deployment/http/web/index.html8
-rw-r--r--deployment/http/web/ocomp.crt21
-rw-r--r--deployment/http/web/ocomp.key28
3 files changed, 53 insertions, 4 deletions
diff --git a/deployment/http/web/index.html b/deployment/http/web/index.html
index 95d3772c..0b9d6b62 100644
--- a/deployment/http/web/index.html
+++ b/deployment/http/web/index.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
-<!--
+<!--
# Copyright 2018 Huawei Technologies Co., Ltd.
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -21,11 +21,11 @@
<meta charset="utf-8"><title>OCLIP...industry first open platform for cli</title><style></style>
<script>
function redirectToConsole(){
- window.location.href="http://"+ window.location.hostname + ":9090";
+ window.location.href="https://"+ window.location.hostname + ":9090";
}
function redirectToConsoleOOM(){
- window.location.href="http://"+ window.location.hostname + ":30271";
+ window.location.href="https://"+ window.location.hostname + ":30271";
}
</script>
@@ -91,4 +91,4 @@ Click <a onclick="redirectToConsole();" style="color: blue;cursor: pointer">here
<sub style="color: blue;"><strong> Manuals !!</strong></sub></a>
</div>
-</body></html> \ No newline at end of file
+</body></html>
diff --git a/deployment/http/web/ocomp.crt b/deployment/http/web/ocomp.crt
new file mode 100644
index 00000000..a1006d46
--- /dev/null
+++ b/deployment/http/web/ocomp.crt
@@ -0,0 +1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DOjyLYULase+nqJVG841UN
+MMWQzqyhHmzIvXcY3kYBbtI7n0ryW0u1ZkomBZs/DbixZ2w6G1K3UONHgdIX6uf4
+hca+vTR3xZuPJ9dXhwNhZVfQZr3SfGW89Xmu/LOGx+lZoAxFXw5PdbA0LPi5k+wU
+xg==
+-----END CERTIFICATE-----
diff --git a/deployment/http/web/ocomp.key b/deployment/http/web/ocomp.key
new file mode 100644
index 00000000..876179e0
--- /dev/null
+++ b/deployment/http/web/ocomp.key
@@ -0,0 +1,28 @@
+-----BEGIN PRIVATE KEY-----
+MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDDIyIm/AvmgI0A
+DDVZb6pe8Qlh9YHoGnm5I3S3dvu1YBT6jLvP7N1v1BAx6+xxg4RQ2v+WAxUwKgy3
+gSo2mhmBwPZGlhLX+IdbT+sb7Cl/xfB7kkegLsnWhlM4YEtlAQW8FYi9gMqssBiO
+lk6zlWqVrShNC566vpEURQOjU1CanZWMhXtYzw4gbMBGlrC54EtRwmn6a7Gp/avA
+FZ05c/7BQyfFq/jc7ttmaeNtYdFwPkuljdE/0h4ZtmZjY5hxrBkCHUXtf/obhxep
+q5PzR16MA1zwis+OHoadqm4qP8w9Wo7KNQo62Sm6zB4gbQO+qA/ZwcSHlJNPAavt
+7KB3lIN1AgMBAAECggEAcXtgJC3WOeGunkV7TRzchsREgZyGRNYIzftpqDxg27UZ
+3i+0FZKZoKxCEtYyNj2W2HLTyojWbKE3rgxG4WQyyzvNvXUPVlwpU5ghkaaA59bU
+KPkEAIrVRJXvlcyibAXxMNWRJSveMhli3qFY+aU+S/dchZnpYI7szk3odLZCHPfd
+7KWMOlm3RYUGo4XIXY9nqAgsgg0ml3s5NUoLwVtxtZFocEiLTxTuvjsirE+IVYNx
+kgGJ5EYpfCkAPQkNF+L27BHrrQpGdmQnCft3iqkGJa8+oPE0DY+TPoY1VNoPmKKg
+CTDouuaJQHq62MvkSj2EauHBshzzrL6UhW5FpqybIQK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