Quantcast
Channel: Active questions tagged https - Stack Overflow
Viewing all articles
Browse latest Browse all 1822

How to enable HTTPS wrapper on Synology DSM 7?

$
0
0

I've set up Web Station on a Synology DS918+ NAS (running the latest version of DSM 7.x).

We want to use it as a local intranet server accessible only from local IPs, so we don't need external access, or an SSL certificate for the server.

The site mainly works, but one of the pages pulls JSON data from an HTTPS page from a 3rd party site, using

$json = file_get_contents($url);

With the site running on XAMPP on a Windows PC on the same network, it works fine.On the Synology box, I get the error

Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /volume1/web/project/getdata.php ...

Looking at the phpinfo, my Windows machine has:

Registered PHP Streams php, file, glob, data, http, ftp, compress.zlib, compress.bzip2, https, ftps, zip, phar

The Synology box server only reports:

Registered PHP Streams php, file, glob, data, http, ftp

How do I enable HTTPS PHP Streams on the Synology server?

All the searches I've done refer to registering an SSL certificate for the webserver on the box, but (a) that's not what I'm looking for, and (b) we don't want external access to this box.


Viewing all articles
Browse latest Browse all 1822

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>