Hi!
I am trying to use AS3 to create a HTTPS service. It seems I can not do it with only a cert and a key.
<span> </span><span>"webcert"</span><span>: {</span><br><span> </span><span>"class"</span><span>: </span><span>"Certificate"</span><span>,</span><br><span> </span><span>"remark"</span><span>: </span><span>"in practice we recommend using a passphrase"</span><span>,</span><br><span> </span><span>"certificate"</span><span>: </span><span>"-----BEGIN CERTIFICATE----- -----END CERTIFICATE-----"</span><span>,</span><br><span> </span><span>"privateKey"</span><span>: </span><span>"-----BEGIN PRIVATE KEY----- -----END PRIVATE KEY-----"</span><span> </span><br><span> }</span>
I am creating a new self signed cert and key .
I get this if i don’t use a cert/key pair and a passphrase:
Error: posting as3 config failed for tenants:(Tenant_01) with error: Tenant Creation failed
It only works if add a passphrase also. I am using a config from an example on the site for this.
In the Schema reference, it says it is optional. But it seems it is not optional. Is that true?
thanks!