使用网络引导程序生成节点信息需要 devMode=false 的证书

using network-bootstrapper to generate node-info expects certificates with devMode=false

我正在尝试使用网络引导程序工具通过将 node.conf 文件作为输入传递给 devMode=false 来生成节点信息(如证书等),以下是我的 node.conf 文件:

myLegalName="O=Bank,L=Paris,C=FR"
p2pAddress="localhost:10011"
devMode=false
rpcSettings {
    address="localhost:10012"
    adminAddress="localhost:10052"
}
security {
    authService {
        dataSource {
            type=INMEMORY
            users=[
                {
                    password=test
                    permissions=[
                        ALL
                    ]
                    user=user3
                }
            ]
        }
    }
}

我将 node.conf 文件的路径作为参数传递给 bootsrapper.jar,但它正在退出,错误代码为 1,下面是错误的屏幕截图:

生成的日志如下:

[INFO ] 2018-07-04T14:19:21,901Z [main] internal.Node.generateAndSaveNodeInfo - Generating nodeInfo ... {}
[ERROR] 2018-07-04T14:19:21,901Z [main] internal.Node.validateKeystore - IO         exception while trying to validate keystore {}
java.nio.file.NoSuchFileException: C:\corda\work\keys-    gen\Bank\certificates\sslkeystore.jks
......
......

[ERROR] 2018-07-04T14:19:21,917Z [main] internal.Node.run - Exception during     node startup {}
java.lang.IllegalArgumentException: Identity certificate not found. Please     either copy your existing identity key and certificate from another node, or if     you don't have one yet, fill out the config file and run corda.jar --initial-    registration. Read more at: https://docs.corda.net/permissioning.html
......
......

能否请您告诉我如何生成证书并将其放入文件夹 {workspace}/{nodeName}/certificates 中,该文件夹已经不存在并且由引导程序工具本身生成?您可以在关闭 devMode 的情况下帮助生成证书和使用 network-bootstrapper.jar 工具吗?

无法在 devMode 之外使用引导程序工具。在 devMode 之外,必须使用适当的证书和网络地图服务器。

正在此处跟踪此问题:https://r3-cev.atlassian.net/browse/CORDA-1735