>> Imported the csr in my ssl certificate provider and got a p7b file back, using this cmd to import the same in the keyring.
I've also been having issues migration our website and union server over to https, SSL/TLS protocol. But keep getting the following message in the browsers javascript Console. Wverything worked fine before over http.
Url:
Console Error message:
“WebSocket connection to 'wss://youmeusdesign.com:9443/' failed: WebSocket is closed before the connection is established.”
Here is our configuration:
1. Server
CentOS Linux, running Plesk 18.0.23, Apache
2. Keystore file
We've created a keystone file from Lets Encrypt Certificates. (fullchain.pem and privkey.pem files). Here are the commands:
openssl pkcs12 -export -in fullchain.pem -inkey privkey.pem -out fullchain.p12 -name youmeusdesign
keytool -v -importkeystore -srckeystore fullchain.p12 -destkeystore keystore.jks -srcstoretype PKCS12 -srcstorepass password -deststorepass password
The keystore was created without errors and seems to be valid. The keystore.jks file was then saved into the same directory as union server.
3. Union.xml configuration
<gateways>
<gateway id="PrimaryGateway" type="TCP">
<ip>SERVER IP address</ip>
<port>8080</port>
<policy_file>policy.xml</policy_file>
<access_control_allow_origin>*</access_control_allow_origin>
</gateway>
<gateway id="SecureGateway" type="SecureTCP">
<ip>SERVER IP address</ip>
<port>9443</port>
<policy_file>policy.xml</policy_file>
<keystore_file>keystore.jks</keystore_file>
<keystore_password>password</keystore_password>
<access_control_allow_origin>*</access_control_allow_origin>
</gateway>
</gateways>
4. policy.xml configuration
<cross-domain-policy>
<allow-access-from domain="*" to-ports="80,443,9100,9110,8080,9443" />
</cross-domain-policy>
I've tried everything but unsure what to try next. Could this have something to do with the certificate being a Lets Encrypt Certificate?
I've also been having issues migration our website and union server over to https, SSL/TLS protocol. But keep getting the following message in the browsers javascript Console. Wverything worked fine before over http.
2. Keystore file
We've created a keystone file from Lets Encrypt Certificates. (fullchain.pem and privkey.pem files). Here are the commands:
openssl pkcs12 -export -in fullchain.pem -inkey privkey.pem -out fullchain.p12 -name youmeusdesign
keytool -v -importkeystore -srckeystore fullchain.p12 -destkeystore keystore.jks -srcstoretype PKCS12 -srcstorepass password -deststorepass password
The keystore was created without errors and seems to be valid. The keystore.jks file was then saved into the same directory as union server.