Skip to content

Commit 2f6b697

Browse files
author
subhra74
committed
rename
1 parent a8e772f commit 2f6b697

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

app/src/main/java/cloudshell/app/config/ConfigManager.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,19 @@ public class ConfigManager {
3838

3939
private static Path CONFIG_PATH = null;
4040

41-
private static final String CERTIFICATE_ALIAS = "webshell-cert";
41+
private static final String CERTIFICATE_ALIAS = "cloudshell-cert";
4242
private static final String CERTIFICATE_ALGORITHM = "RSA";
43-
private static final String CERTIFICATE_DN = "CN=easy.webshell.app, O=easy.webshell.app, L=easy.webshell.app, ST=il, C=c";
43+
private static final String CERTIFICATE_DN = "CN=easy.cloudshell.app, O=easy.cloudshell.app, L=easy.cloudshell.app, ST=il, C=c";
4444
private static final int CERTIFICATE_BITS = 2048;
4545

4646
static {
4747
Path configPath = null;
48-
String configPathStr = System.getenv("EASY_WEB_SHELL_CONFIG_DIR");
48+
String configPathStr = System.getenv("EASY_CLOUD_SHELL_CONFIG_DIR");
4949
if (configPathStr == null || configPathStr.length() < 1) {
5050
configPath = Paths.get(System.getProperty("user.home"),
51-
".easy-web-shell");
51+
".easy-cloud-shell");
5252
} else {
53-
configPath = Paths.get(configPathStr, ".easy-web-shell");
53+
configPath = Paths.get(configPathStr, ".easy-cloud-shell");
5454
}
5555
CONFIG_PATH = configPath;
5656
try {
@@ -184,7 +184,7 @@ private static void createSelfSignedCertificate(Path certPath,
184184

185185
try (OutputStream out = new FileOutputStream(certConf.toFile())) {
186186
certProps.store(out,
187-
"Easy webshell self signed certificate details");
187+
"Easy cloud shell self signed certificate details");
188188
}
189189

190190
System.out.println("Self signed certificate created");

0 commit comments

Comments
 (0)