Package org.opencms.letsencrypt
Class CmsSiteConfigToLetsEncryptConfigConverter
java.lang.Object
org.opencms.letsencrypt.CmsSiteConfigToLetsEncryptConfigConverter
Class which converts the OpenCms site configuration to a certificate configuration for the LetsEncrypt docker instance.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Represents a grouping of domains into certificates.static class
Represents the domain information for a single site. -
Field Summary
-
Constructor Summary
ConstructorDescriptionCreates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionboolean
run
(I_CmsReport report, CmsSiteManagerImpl siteManager) Runs the certificate configuration update for the sites configured in a site manager.
-
Field Details
-
GROUPING_DISABLED
Disables grouping.- See Also:
-
-
Constructor Details
-
CmsSiteConfigToLetsEncryptConfigConverter
Creates a new instance.- Parameters:
config
- the LetsEncrypt configuration
-
-
Method Details
-
run
Runs the certificate configuration update for the sites configured in a site manager.- Parameters:
report
- the report to write tositeManager
- the site manager instance- Returns:
- true if the Letsencrypt update was successful
-