Domino AppDev Pack 1.0.13,IAM服务器设置失败,无法通过自签名的CA签名证书
我没有本地服务器的CA签名证书:serv.org.com。 因此,我遵循的步骤为IAM服务器创建自签名证书。
openssl genrsa -des3 -out iamserver.key 4096
openssl req -new -key iamserver.key -out iamserver.csr -subj“/o = org/cn = org/cn = iamAccessor
” -ca ca.crt -cakey ca.key -out iamserver.crt -caserial ca.seq
所述的步骤成功。
但是,当我尝试使用错误运行以下步骤时。
“如果您使用自我创建的CA签署证书,则以下示例脚本演示了如何使用它签署服务器证书。”
OpenSSL x509 -passin Pass:passw0rd -req -days 365 -in iamserver.csr -ca ca.crt
-cakey ca.key -out iamserver.crt -cacreateSerial -careRial ca.seq -sha256 -extfile
<(printf“ [san] \ nsubjectaltname = dns:iamserver.com”)-extensions san
我收到了一个错误消息:系统无法找到特定文件。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您正在传递“ - in iamserver.csr”,但在您的DIR列表中似乎没有CSR。
You are passing an "-in iamserver.csr" but there does not appear to be a csr for iamserver in your dir listing.
请小心,发布答案,不要尝试编辑它们。
我只是在响应原始帖子中出现的图像。
在第一张图片中,您没有指定通往iamserver.csr的正确路径
该文件位于您的IAMServer目录中,因此看起来像“ -in-iamserver \ iamserver.csr”,
您响应的图片中都在iamServer目录中,但是所有其他CA文件都在上面的目录中。因此,您需要修复通往所有输入的路径,以便它们匹配并指向某些内容。
Please be careful, post responses to answers, don't try to edit them.
I'm just responding to the image that came in the original post.
In the first picture, you did not specify the correct path to iamserver.csr
That file was in your iamserver directory, so it should look like "-in iamserver\iamserver.csr"
In the picture you responded with you were in iamserver directory, but all of your other ca files where in the directory above. So you need to fix the path to all of the inputs so that they match and point to something.
感谢您的答复。我已经检查了很多次,这不是文件名错误。
我收到了所有必需文件的目录,例如ca.key和ca.crt,iamserver.csr,iamserver.crt。
这是Windows问题,需要创建.cnf文件,例如SSL-Extensions-509.cnf为-extfile,根据所附的教程页面。
在将脚本修改为以下内容后,它现在正常工作。
Thanks for your replied. I have checked for many times, it is not the file name errors.
I got the directory with all required files such as ca.key and ca.crt, iamserver.csr, iamserver.crt.
It is the windows problem, it is required to create a .cnf file e.g. ssl-extensions-509.cnf as -extfile, according to the tutorial page as attached.
https://www.sit.de/SIT/hvblog.nsf/dx/26.05.2020165717HVOKJX.htm
After modified the scripts to the following, it is working now.