Skip to content

Commit

Permalink
Merge pull request #471 from dcarella/task/remove-some-public-web-old…
Browse files Browse the repository at this point in the history
…-traces/8.2.0

Task: Remove some Public Web GUI old traces
  • Loading branch information
primetomas authored Jan 19, 2024
2 parents d93cf6a + ec6f4f1 commit 1c212a8
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 15 deletions.
7 changes: 1 addition & 6 deletions conf/web.properties.sample
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ superadmin.dn=CN=${superadmin.cn}
# Choose a good password here.
superadmin.password=ejbca

# Set this to false if you want to fetch the certificate from the EJBCA public web pages, instead of
# Set this to false if you want to enroll the certificate from the EJBCA RA GUI pages, instead of
# importing the P12-keystore. This can be used to put the initial superadmin-certificate on a smart card.
superadmin.batch=true

Expand Down Expand Up @@ -125,11 +125,6 @@ httpsserver.tokentype=JKS
# Default: true
#(Read the warning!)web.reqauth=true

# Deploy the request browser certificate renewal web application and show a
# link to it from the EJBCA public web.
# Default = false
#web.renewalenabled=false

# Whether it should be possible to manually specify a custom class name in
# the admin web (e.g. for a custom Publisher or Service), or if the choice
# of class should be constrained to auto-detected classes only.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,13 +183,6 @@ public static boolean getRequireAdminCertificateInDatabase() {
public static String getWebContentEncoding() {
return EjbcaConfigurationHolder.getString("web.contentencoding");
}

/**
* The request browser certificate renewal web application is deployed
*/
public static boolean getRenewalEnabled() {
return Boolean.valueOf(EjbcaConfigurationHolder.getExpandedString("web.renewalenabled"));
}

public static boolean doShowStackTraceOnErrorPage(){
final String s=EjbcaConfigurationHolder.getString ("web.errorpage.stacktrace");
Expand Down
1 change: 0 additions & 1 deletion propertyDefaults.xml
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,6 @@ httpsserver.hostname = ${httpsserver.hostname}
httpsserver.password = ***
httpserver.external.fqdn = ${httpserver.external.fqdn}
web.contentencoding = ${web.contentencoding}
web.renewalenabled = ${web.renewalenabled}
ejbcaws.enabled = ${ejbcaws.enabled}
unidfnr.enabled = ${unidfnr.enabled}

Expand Down
1 change: 0 additions & 1 deletion src/java/defaultvalues.properties
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ httpserver.external.privhttps=8443
httpserver.pubhttps=8442
httpserver.pubhttp=8080
web.openvpn.createInstallerScript=/usr/local/ejbca/bin/mk_openvpn_windows_installer.sh
web.renewalenabled=false
web.reqcertindb=true
# Web, known PKCS#11 crypto libraries
cryptotoken.p11.lib.10.name=Thales ProtectServer 2 Emulator
Expand Down

0 comments on commit 1c212a8

Please sign in to comment.