houdongen 发表于 2024-4-9 11:07:26

按照官方文档开启HTTPS后启动失败了

如图文档 https://www.o2oa.net/cms/serverdeployment/261.html

启蒙星 发表于 2024-4-9 14:29:51

应该还是哪里配置有问题,这个要具体检查环境配置了,我看到你用https的话端口还用80吗?如果检查不出来建议你使用nginx解析https,o2还是使用http,我们也有相关文档。

houdongen 发表于 2024-4-9 15:21:51

启蒙星 发表于 2024-4-9 14:29
应该还是哪里配置有问题,这个要具体检查环境配置了,我看到你用https的话端口还用80吗?如果检查不出来建 ...

改成其他端口提示 密码错误

是不是openssl x509 -req -in clientreq.csr -out clientcert.cer -signkey clientkey.key -CA rootcert.cer -CAkey rootkey.key -CAcreateserial -days 3650 文档中这句报错不能同时使用 不能同时使用-key 和 -CA选项 使用的这个openssl x509 -req -in clientreq.csr -out clientcert.cer -signkey clientkey.key -days 3650

houdongen 发表于 2024-4-10 14:07:54

>>> server directory:/demo/o2server
>>> version:8.1.1
>>> java:11
>>> os:Linux
>>> nodeAgent port:20010, encrypt:true
help                                 show usage message.
start|stop                      start stop all enable server.
start|stop data                        start stop data server.
start|stop storage                     start stop storage server.
start|stop center                      start stop center server.
start|stop application               start stop application server.
start|stop web                         start stop web server.
start init                           start init server then start all enable server.
setPassword (oldpasswd) (newpasswd)    change initial manager password.
version                              display version.
exit                                 exit after stop all enable server.
ctl -<argument> option               system control command, no argument display help.

****************************************
* storage server start completed.
* port: 20040.
****************************************
2024-04-10 14:05:16.499 ERROR com.x.server.console.command.StartCommand - id:2bec7325-1887-4b86-add5-a8a154ea48b6, name:com.x.server.console.command.StartCommand, message:keystore password was incorrect, exception:java.io.IOException.
java.io.IOException: keystore password was incorrect
      at sun.security.pkcs12.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:2108) ~[?:?]
      at sun.security.util.KeyStoreDelegator.engineLoad(KeyStoreDelegator.java:243) ~[?:?]
改了端口,提示这个,不行的话就用 nginx 了

启蒙星 发表于 2024-4-12 10:36:23

你token.json中的keystore密码设置对了吗
页: [1]
查看完整版本: 按照官方文档开启HTTPS后启动失败了