Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FISCO-BCOS2.5后,EncryptType注入问题 #73

Open
kidhe opened this issue Jun 24, 2020 · 0 comments
Open

FISCO-BCOS2.5后,EncryptType注入问题 #73

kidhe opened this issue Jun 24, 2020 · 0 comments

Comments

@kidhe
Copy link

kidhe commented Jun 24, 2020

区块链节点升级到2.5版本后,如采用国密SSL连接配置时,启动springboot工程汇报如下错误:
javax.net.ssl.SSLException: Failed to initialize the SSLContext: null

查看了下代码:
@Autowired private EncryptType encryptType;

原来在com.dcits.tbchain.base.autoconfigure.AccountConfig下注入的encryptType,没有起作用,导致后面报错

将该注入调整到com.dcits.tbchain.base.autoconfigure.ServiceConfig后,问题解决。

请验证此处是否确实有问题,还是我这边环境的个别现象

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant