@@ -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