『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 2996|回复: 4

[求助] 各位大神,大方摄像头在nodered里面读不了。

[复制链接]

10

主题

155

帖子

773

积分

论坛积极会员

积分
773
金钱
618
HASS币
0
发表于 2019-11-4 16:51:27 | 显示全部楼层 |阅读模式
大方摄像头在nodered里面读不了,说什么证书过期,帐号密码都是对的,在浏览器上能操作,但是一定要输一次帐号密码。

QQ图片20191104163208.png

回复

使用道具 举报

40

主题

3057

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11135
金钱
8028
HASS币
182
发表于 2019-11-5 09:24:02 | 显示全部楼层
关掉大方的https
Nero
回复

使用道具 举报

10

主题

155

帖子

773

积分

论坛积极会员

积分
773
金钱
618
HASS币
0
 楼主| 发表于 2019-11-5 10:21:23 | 显示全部楼层

N大,大方的https在那关啊,在wed页面找过了,没有啊,麻烦你指明一下,谢谢。
回复

使用道具 举报

40

主题

3057

帖子

1万

积分

超级版主

Nero

Rank: 8Rank: 8

积分
11135
金钱
8028
HASS币
182
发表于 2019-11-6 08:28:41 | 显示全部楼层
awdx48 发表于 2019-11-5 10:21
N大,大方的https在那关啊,在wed页面找过了,没有啊,麻烦你指明一下,谢谢。 ...

lighttpd 配置文件看看
Nero
回复

使用道具 举报

10

主题

155

帖子

773

积分

论坛积极会员

积分
773
金钱
618
HASS币
0
 楼主| 发表于 2019-11-6 11:02:44 | 显示全部楼层
本帖最后由 awdx48 于 2019-11-6 11:03 编辑
neroxps 发表于 2019-11-6 08:28
lighttpd 配置文件看看

N大,再麻烦你看一下,我乱改了一下,现在开不了机了
以下是文件lighttpd.conf的内容



cgi.assign = ( ".cgi" => "/bin/sh" )



$SERVER["socket"] == ":443" {
  ssl.engine = "enable"
  ssl.pemfile = "/system/sdcard/config/lighttpd.pem"
}


# Support letsencrypt SSL cert paths
# (we don't want to upgrade to SSL nor auth' this path)
$HTTP["url"] !~ "^/.well-known/(.*)" {

    auth.backend                = "htdigest"
    auth.backend.htdigest.userfile = "/system/sdcard/config/lighttpd.user"
    auth.require = ( "/" => ("method" => "basic", "realm" => "all", "require" => "user=root"))

    $HTTP["scheme"] == "http" {
        # capture vhost name with regex conditiona -> %0 in redirect pattern
        # must be the most inner block to the redirect rule
        $HTTP["host"] =~ ".*" {
            url.redirect = (".*" => "https://%0$0")
        }
    }
}

## enable debugging
#debug.log-request-header     = "enable"
#debug.log-response-header    = "enable"
#debug.log-request-handling   = "enable"
#debug.log-file-not-found     = "enable"
#debug.log-condition-handling = "enable"

## where to send error-messages to
server.errorlog             = "/tmp/lighttpd-error.log"

## CGI (etc) stderr log
server.breakagelog = "/tmp/lighttpd-cgi-stderr.log"

## accesslog module
accesslog.filename          = "/tmp/lighttpd-access.log"
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-5-19 10:12 , Processed in 0.075047 second(s), 29 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表