Jump to content


Photo

Unable to accept offer: self signed certificate

node.js node-steamcommunity

  • Please log in to reply
3 replies to this topic

#1 venfiw

venfiw

    Member

  • Member
  • PipPip
  • 13 posts

Posted 28 November 2018 - 07:31 AM

help

i can accept the offer in web but can't accept it with node-steamcommunity 

 

1.png

 

in some reason our country block the steamcommunity.com when we visit the site our targetlink will be reset,so if we want visit steamcommunity.com we must use a vpn

and one day some one find the way to visit it without vpn it's called Reverse Proxy, i thought.(sry for my bad english)

The question is now i can visit steamcommunity.com with web and steamclient, but i can't visit is by node-steamcommunity

the first offer worked becacuse i use a another ipaddress in hosts, and then i change the hosts to my Reverse Proxy server, and then show Unable to accept offer: self signed certificate

 

what should i do ? can you give me some suggestions? I am very grateful to you for reading these.

 

thanks


Edited by venfiw, 28 November 2018 - 07:34 AM.


#2 Dr. McKay

Dr. McKay

    Developer

  • Administrator
  • 1,810 posts

Posted 29 November 2018 - 01:44 AM

Looks like your reverse proxy is performing MitM.



#3 venfiw

venfiw

    Member

  • Member
  • PipPip
  • 13 posts

Posted 01 December 2018 - 08:51 AM

Looks like your reverse proxy is performing MitM.

 

yep, and nodejs can't run is what should i do.Do you have any advice?



#4 Dr. McKay

Dr. McKay

    Developer

  • Administrator
  • 1,810 posts

Posted 03 December 2018 - 12:31 AM

If you're absolutely sure that you want to allow MitM, this should work:

const Request = require('request');
const SteamCommunity = require('steamcommunity');

let community = new SteamCommunity({
    "request": Request.defaults({"rejectUnauthorized": false})
});






Also tagged with one or more of these keywords: node.js, node-steamcommunity

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users