Jump to content
McKay Development
venfiw

Unable to accept offer: self signed certificate

Recommended Posts

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

Share this post


Link to post
Share on other sites

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})
});

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...