AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-155739

geoB's questions

Martin Hope
geoB
Asked: 2024-12-27 05:58:35 +0800 CST

如何通过 SSL 连接到 Windows 本地开发网站?

  • 5

我有一个本地开发网站,可以以 身份访问http://castle。生成证书等后,尝试以 身份访问https://castle失败 - 没有可发现的错误。我遗漏了什么?

以下是目前已完成的工作:

环境:

  • Windows 10 内部版本 19045.5247
  • .\httpd -v:Server version: Apache/2.4.62 (Win64)
  • .\httpd -t:Syntax OK

Apache 错误日志用于警告有关 SSLSessionCache 的信息。虽然我在 conf 文件中找不到任何同名的内容,但我加载了包含 的每个模块cache。警告消失了。

确认已加载所有.conf注明的模块。http-ssl.conf

SSL 证书是根据此创建并安装的。

城堡虚拟主机:

<VirtualHost *:80 *:443>
    ServerName  castle

    SSLEngine On
    SSLCertificateFile "G:\workspace\castle\castle.crt"
    SSLCertificateKeyFile "G:\workspace\castle\castle.key"
    
    DocumentRoot "G:\workspace\castle"
    <Directory "G:\workspace\castle">
        Options +Includes
        DirectoryIndex  index.html
    </Directory>
</VirtualHost>

已知信息:

Chrome:http://castle 网站按预期启动。仅包含 html、cs、js。

铬合金:https://castle

This site can’t be reached
castle refused to connect.
Try:

Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED

netsh advfirewall set allprofiles state off没什么区别

Apache access.log 示例:127.0.0.1 - - [26/Dec/2024:13:55:06 -0800] "-" 408 -

Apache error.log 为空

火狐浏览器:Unable to connect...

apache-http-server
  • 1 个回答
  • 27 Views
Martin Hope
geoB
Asked: 2021-12-27 15:31:39 +0800 CST

将 WSL 配置为使用 Linux 文件系统会产生“......错误的转义序列......”

  • 5

在 WSL2 中,尝试将 Ubuntu 20 发行版配置为使用 linux 文件系统会导致

Settings could not be reloaded from file. Check for syntax errors, including trailing commas.
* Line 71, Column 38
  Bad escape sequence in string
See Line 71, Column 47 for detail.

发行版是 Ubuntu

settings.json 包括

"hidden": false,
"name": "WSL-Ubuntu",
"source": "Windows.Terminal.Wsl",
"startingDirectory": "\\wsl$\Ubuntu\home\"  < line 71

col 38 介于:和"

linux ubuntu
  • 1 个回答
  • 193 Views
Martin Hope
geoB
Asked: 2019-06-28 15:34:55 +0800 CST

无法将 PuTTY 放入 Hyper-V VM(Ubuntu 18 服务器)

  • 6

Hyper-V 中的 Ubuntu 18.04 服务器虚拟机拒绝通过 PuTTY 进行连接。来宾正在运行并且可以从主机(Windows 10、1903)ping 通。服务器是从 iso 全新构建的。在安装过程中安装了 Openssh-server。

服务器显示它正在侦听端口 22。PuTTY 将连接到远程系统。使用 WSL ssh 进入服务器也会导致连接被拒绝。使用时,PuTTY 还将连接到 VirtualBox 虚拟机。(我正在尝试评估 Hyper-V,但还没有被逗乐!)

编辑:可能相关的问题是,在安装 Apache2 并浏览到 VM 的 IP 地址后,我得到了主机,而不是来宾。来宾的适配器具有静态 IP 地址,并配置为主机适配器上的外部交换机。所以我想从主机ssh到主机?太有趣了!_ _

ssh ubuntu
  • 1 个回答
  • 1745 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何减少“vmmem”进程的消耗?

    • 11 个回答
  • Marko Smith

    从 Microsoft Stream 下载视频

    • 4 个回答
  • Marko Smith

    Google Chrome DevTools 无法解析 SourceMap:chrome-extension

    • 6 个回答
  • Marko Smith

    Windows 照片查看器因为内存不足而无法运行?

    • 5 个回答
  • Marko Smith

    支持结束后如何激活 WindowsXP?

    • 6 个回答
  • Marko Smith

    远程桌面间歇性冻结

    • 7 个回答
  • Marko Smith

    子网掩码 /32 是什么意思?

    • 6 个回答
  • Marko Smith

    鼠标指针在 Windows 中按下的箭头键上移动?

    • 1 个回答
  • Marko Smith

    VirtualBox 无法以 VERR_NEM_VM_CREATE_FAILED 启动

    • 8 个回答
  • Marko Smith

    应用程序不会出现在 MacBook 的摄像头和麦克风隐私设置中

    • 5 个回答
  • Martin Hope
    Vickel Firefox 不再允许粘贴到 WhatsApp 网页中? 2023-08-18 05:04:35 +0800 CST
  • Martin Hope
    Saaru Lindestøkke 为什么使用 Python 的 tar 库时 tar.xz 文件比 macOS tar 小 15 倍? 2021-03-14 09:37:48 +0800 CST
  • Martin Hope
    CiaranWelsh 如何减少“vmmem”进程的消耗? 2020-06-10 02:06:58 +0800 CST
  • Martin Hope
    Jim Windows 10 搜索未加载,显示空白窗口 2020-02-06 03:28:26 +0800 CST
  • Martin Hope
    andre_ss6 远程桌面间歇性冻结 2019-09-11 12:56:40 +0800 CST
  • Martin Hope
    Riley Carney 为什么在 URL 后面加一个点会删除登录信息? 2019-08-06 10:59:24 +0800 CST
  • Martin Hope
    zdimension 鼠标指针在 Windows 中按下的箭头键上移动? 2019-08-04 06:39:57 +0800 CST
  • Martin Hope
    jonsca 我所有的 Firefox 附加组件突然被禁用了,我该如何重新启用它们? 2019-05-04 17:58:52 +0800 CST
  • Martin Hope
    MCK 是否可以使用文本创建二维码? 2019-04-02 06:32:14 +0800 CST
  • Martin Hope
    SoniEx2 更改 git init 默认分支名称 2019-04-01 06:16:56 +0800 CST

热门标签

windows-10 linux windows microsoft-excel networking ubuntu worksheet-function bash command-line hard-drive

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve