Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/308.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 如何更改Dataminder中web服务的默认https证书?_Java_Https_Ssl Certificate - Fatal编程技术网

Java 如何更改Dataminder中web服务的默认https证书?

Java 如何更改Dataminder中web服务的默认https证书?,java,https,ssl-certificate,Java,Https,Ssl Certificate,安装时,将设置两个web服务端口。一个用于http,另一个用于https。 安装过程中会创建自签名证书。 但是我们需要使用来自证书颁发机构的证书 如何更改web服务https端口上使用的证书?要使用来自证书颁发机构的证书替换默认自签名证书,最简单的方法是替换 DMKeyStore文件(它只是一个标准的Java密钥库文件)和一个包含新证书的新Java密钥库文件 请注意,新密钥库文件必须命名并放置在默认目标: DataMinder/Server/Config/Certificates/DMKeySt

安装时,将设置两个web服务端口。一个用于http,另一个用于https。 安装过程中会创建自签名证书。 但是我们需要使用来自证书颁发机构的证书


如何更改web服务https端口上使用的证书?

要使用来自证书颁发机构的证书替换默认自签名证书,最简单的方法是替换 DMKeyStore文件(它只是一个标准的Java密钥库文件)和一个包含新证书的新Java密钥库文件

请注意,新密钥库文件必须命名并放置在默认目标:

DataMinder/Server/Config/Certificates/DMKeyStore
要开始使用新证书文件,请更新DataMinder属性文件:

DataMinder/Server/Config/DataMinder.properties
要更新的属性包括:

dataminder.environment.web.https.keyStorePassword=...
dataminder.environment.web.https.keyAlias=...
dataminder.environment.web.https.keyPassword=....
更新属性并重新启动DataMinder。现在DataMinder将使用新的证书


注意:证书同时用于管理HTTPS和Web服务HTTPS端口。

要使用来自证书颁发机构的证书替换默认自签名证书,最简单的方法是替换 DMKeyStore文件(它只是一个标准的Java密钥库文件)和一个包含新证书的新Java密钥库文件

请注意,新密钥库文件必须命名并放置在默认目标:

DataMinder/Server/Config/Certificates/DMKeyStore
要开始使用新证书文件,请更新DataMinder属性文件:

DataMinder/Server/Config/DataMinder.properties
要更新的属性包括:

dataminder.environment.web.https.keyStorePassword=...
dataminder.environment.web.https.keyAlias=...
dataminder.environment.web.https.keyPassword=....
更新属性并重新启动DataMinder。现在DataMinder将使用新的证书

注意:证书同时用于管理HTTPS和Web服务HTTPS端口