SSL - Cloudflare - PM 7.19

For general discussion of the Poker Mavens software
saroufim
Posts: 10
Joined: Sat Jun 06, 2020 12:45 am

SSL - Cloudflare - PM 7.19

Post 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
Kent Briggs
Site Admin
Posts: 6015
Joined: Wed Mar 19, 2008 8:47 pm

Re: SSL - Cloudflare - PM 7.19

Post by Kent Briggs »

Ports 8087 and 1443 are not supported by Cloudflare:

https://developers.cloudflare.com/funda ... ork-ports/
saroufim
Posts: 10
Joined: Sat Jun 06, 2020 12:45 am

Re: SSL - Cloudflare - PM 7.19

Post by saroufim »

I change the HTTP & HTTPS Port on the Service Console to the supported one in Cloudflare.

and the WS & WSS?
Kent Briggs
Site Admin
Posts: 6015
Joined: Wed Mar 19, 2008 8:47 pm

Re: SSL - Cloudflare - PM 7.19

Post 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.
saroufim
Posts: 10
Joined: Sat Jun 06, 2020 12:45 am

Re: SSL - Cloudflare - PM 7.19

Post 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)
Kent Briggs
Site Admin
Posts: 6015
Joined: Wed Mar 19, 2008 8:47 pm

Re: SSL - Cloudflare - PM 7.19

Post 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?
saroufim
Posts: 10
Joined: Sat Jun 06, 2020 12:45 am

Re: SSL - Cloudflare - PM 7.19

Post 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
saroufim
Posts: 10
Joined: Sat Jun 06, 2020 12:45 am

Re: SSL - Cloudflare - PM 7.19

Post by saroufim »

No error log is generated
Kent Briggs
Site Admin
Posts: 6015
Joined: Wed Mar 19, 2008 8:47 pm

Re: SSL - Cloudflare - PM 7.19

Post 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?
saroufim
Posts: 10
Joined: Sat Jun 06, 2020 12:45 am

Re: SSL - Cloudflare - PM 7.19

Post 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
Post Reply