Package org.eblocker.server.http.server
Class SSLContextHandler
java.lang.Object
org.eblocker.server.http.server.SSLContextHandler
This class handles the creation of the signed SSL certificate for the ICAP server
It is able to return a SSLContext for the RestExpress server
You must call the init() method, to make sure the certificates are available, before
making use of other methods of this class.
Implemented regeneration of ssl certificate, when DhcpBindListener observes new IP address -> generateSSLCertificate(newIP,...) and set new SSLContext (-> getSSLContext(...)) to EblockerHttpsServer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceclass -
Constructor Summary
ConstructorsConstructorDescriptionSSLContextHandler(String controlBarHostName, String emergencyIp, String defaultLocalNames, String keyStorePath, String keyStorePassword, String renewalKeyStorePath, NetworkInterfaceWrapper networkInterface, SslService sslService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
-
Constructor Details
-
SSLContextHandler
@Inject public SSLContextHandler(String controlBarHostName, String emergencyIp, String defaultLocalNames, String keyStorePath, String keyStorePassword, String renewalKeyStorePath, NetworkInterfaceWrapper networkInterface, SslService sslService)
-
-
Method Details
-
addContextChangeListener
-
getSSLContext
-
getRenewalSSLContext
-