Page 1 of 2

SSL - Cloudflare - PM 7.19

Posted: Sat Jul 27, 2024 2:40 am
by saroufim
Hello
  • I installed PM Server 7.19 on AWS EC2 (All ports open)
  • Origin Cert. installed into PM folder and added to Settings
  • HTTP Port: 8087
  • WS Port: 8088
  • HTTPs Port: 1443
  • WSS Port: 8443
Are my ports fine to use?

I still connect to API using http://IP:8087/api normally
but I want to use Startup Parameters to load Table using Session Key
e.g http://masterholdem.site:8087/?LoginName=.....

Any help?

Thanks

Re: SSL - Cloudflare - PM 7.19

Posted: Sat Jul 27, 2024 9:30 am
by Kent Briggs
Ports 8087 and 1443 are not supported by Cloudflare:

https://developers.cloudflare.com/funda ... ork-ports/

Re: SSL - Cloudflare - PM 7.19

Posted: Sat Jul 27, 2024 2:00 pm
by saroufim
I change the HTTP & HTTPS Port on the Service Console to the supported one in Cloudflare.

and the WS & WSS?

Re: SSL - Cloudflare - PM 7.19

Posted: Sat Jul 27, 2024 3:21 pm
by Kent Briggs
saroufim wrote: Sat Jul 27, 2024 2:00 pm and the WS & WSS?
All the ports, including the websocket ports have to be Cloudflare compliant if you use Cloudflare.

Re: SSL - Cloudflare - PM 7.19

Posted: Sun Jul 28, 2024 1:35 am
by saroufim
I use:
  • HTTP Port: 2052
  • WS Port: 2053
  • HTTPs Port: 2082
  • WSS Port: 2083
Everything works fine
the API is : http://{IP}:2052/api works fine but when i try to use SessionKey using http://{domain.site}:2082/?LoginName=...&SessionKey=...
it returns SSL_CERT_ERROR (Origin)

Re: SSL - Cloudflare - PM 7.19

Posted: Sun Jul 28, 2024 9:52 am
by Kent Briggs
saroufim wrote: Sun Jul 28, 2024 1:35 am it returns SSL_CERT_ERROR (Origin)
Where did you get your SSL cert? Do you have the key file, cert file, and root cert file settings activated in the PM Service Manager? Does the Error Log show any SSL related errors at startup?

Re: SSL - Cloudflare - PM 7.19

Posted: Sun Jul 28, 2024 12:39 pm
by saroufim
Yes Everything is fine:
The Certs. are from Cloudflare and the Root file is (https://developers.cloudflare.com/ssl/o ... ertificate) RSA PEM

I checked the SSL Redirect on the service interface

Re: SSL - Cloudflare - PM 7.19

Posted: Sun Jul 28, 2024 12:39 pm
by saroufim
No error log is generated

Re: SSL - Cloudflare - PM 7.19

Posted: Sun Jul 28, 2024 3:10 pm
by Kent Briggs
saroufim wrote: Sun Jul 28, 2024 1:35 am the API is : http://{IP}:2052/api works fine but when i try to use SessionKey using http://{domain.site}:2082/?LoginName=...&SessionKey=...
it returns SSL_CERT_ERROR (Origin)
That second link should be https, not http. Was that just a typo or do you still get the error?

Re: SSL - Cloudflare - PM 7.19

Posted: Mon Jul 29, 2024 2:28 am
by saroufim
The link is https (typo error)
The Cert. is created Origin Server from Cloudflare and the Root is from Cloudflare.
Launched from PM Console