简体   繁体   English

如何在嵌入式偏航轴上配置possitiveSSL?

[英]How do I configure possitiveSSL on embedded yaws?

I bought a possitiveSSL certificate from ComodoSSL 我从ComodoSSL购买了possitiveSSL证书

these are the files I was received from them 这些是我从他们那里收到的文件

Root CA Certificate - AddTrustExternalCARoot.crt
Intermediate CA Certificate - COMODORSAAddTrustCA.crt
Intermediate CA Certificate - COMODORSADomainValidationSecureServerCA.crt
Your PositiveSSL Certificate - domain_com.crt

How do I replace these files with the following embedded yaws configuration? 如何用以下嵌入式偏航配置替换这些文件?

{ssl,[{keyfile, "/home/user/Develop/yaws-2.0.2/etc/yaws/yaws-key.pem"},
          {certfile, "/home/user/Develop/yaws-2.0.2/etc/yaws/yaws-cert.pem"},
          {depth,0},{dhfile,"/home/yser/Develop/yaws-2.0.2/etc/yaws/dhparams.pem"}]},

I have solved this problem by combining the following files into one filename.crt : 我已通过将以下文件合并为一个filename.crt解决了此问题:

Root CA Certificate - AddTrustExternalCARoot.crt
Intermediate CA Certificate - COMODORSAAddTrustCA.crt
Intermediate CA Certificate - COMODORSADomainValidationSecureServerCA.crt
Your PositiveSSL Certificate - domain_com.crt

Then I added the key signature I used to request the ssl certificate into a file.key file. 然后,我将用于请求ssl证书的密钥签名添加到file.key文件中。

so the result is something like this: 所以结果是这样的:

{port, 443}
{ssl,[{keyfile, "/home/file.key"},
          {certfile, "/home/filename.crt"},
          {depth,0}]}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM