https 39 whitelist protocol

httpd2.4 配置https访问

httpd版本:Server version: Apache/2.4.37 (Alibaba Cloud Linux) 实验步骤如下: 1. 购买域名,使用阿里云域名购买 k.com。 2. 购买ECS服务器(使用突发式实例-印度尼西亚,便宜3分钱一小时),带有公网IP。 3. 配置域名解析 dem ......
httpd2 httpd https

rabbitmq报错:TypeError: unhashable type: 'slice'

rabbitmq报错:TypeError: unhashable type: 'slice',是因为传入的参数类型是slice,而slice对象是不可哈希的 原代码: 修改后: ......
unhashable TypeError rabbitmq slice 39

算法学习day27回溯part03-39、40、131

package LeetCode.backtrackpart03; import java.lang.management.LockInfo; import java.util.ArrayList; import java.util.Arrays; import java.util.LinkedLi ......
算法 part day 131 27

HTTPS如何优化?

由裸数据传输的 HTTP 协议转成加密数据传输的 HTTPS 协议,给应用数据套了个「保护伞」,提高安全性的同时也带来了性能消耗。 因为 HTTPS 相比 HTTP 协议多一个 TLS 协议握手过程,目的是为了通过非对称加密握手协商或者交换出对称加密密钥,这个过程最长可以花费掉 2 RTT,接着后... ......
HTTPS

配置SSL、TLS以及HTTPS来确保es、kibana、beats、logstash的安全

ssl分步骤 1、准备工作 为每台机器配置hosts 192.168.1.234 node01192.168.1.233 node02192.168.1.240 node03192.168.1.241 logstash01192.168.1.242 logstash02192.168.1.243 f ......
logstash kibana HTTPS beats SSL

QT QTcpSocket write发送字符串 error: no matching member function for call to 'write'

先看源码: // 按钮,发送消息 void MainWindow::on_pushButton_2_clicked() { QString send_msg = ui->textEdit_2->toPlainText(); // 获取文本框内容 new_sock->write(send_msg); ......
write 字符串 QTcpSocket 字符 matching

str.center('a', 3)和'a'.center(3)作用是一样的

>>> 'a'.upper() 'A' >>> str.upper('a') 'A' >>> type('a'.upper) <class 'builtin_function_or_method'> >>> type(str.upper) <class 'method_descriptor'> >> ......
center 39 作用 str

Field userClient in com.demo.order.service.OrderService required a bean of type'com.demo.feign.clients.UserClient' that could not be found.

在SpringCloud项目中使用Feign进行远程调用遇到的错误。原因是因为UserClient在com.demo.feign.clients包下面,而order-service的@EnableFeignClientd注解却在com.demo.order包下面,这两个不在同一个包下,无法扫描到Us ......
demo OrderService userClient UserClient com

git 连接方式SSH、https方式相互切换

1、git remote -v --查看当前是ssh 还是https方式连接 2、从ssh切换至https git remote set-url origin https://xxxx.git(复制仓库https连接) 3、从https方式切换至ssh git remote set-url orig ......
方式 https git SSH

Check the tbs' usage in PDB and CDB

check out the tbs's usage in PDB and CDB , run in CDB set line 200 pages 999 column name for a10 column tablespace_name for a15 column "MAXSIZE (GB)" ......
Check usage CDB the tbs

TypeError: Cannot read properties of null (reading 'name')

报错如下: 错误代码: searchList() { this.entity = {} this.edit = null let query = {} query.traceCode = this.code this.loading = true codeApi.queryTraceCode(que ......
properties TypeError reading Cannot 39

'NoneType' object has no attribute 'children'问题的解决

问题描述 在网页里面进行数据爬取时,出现了这样的错误 问题解决 网页的url路径出现问题,发现将原来的url网址路径复制到网页里面根本打不开,只需要换一下网页的url路径即可! ......
39 attribute NoneType children object

django報錯 django.db.utils.OperationalError: (2006, 'MySQL server has gone away')

Internal Server Error: /lotus/sectors/getAll/129/ Traceback (most recent call last): File "/root/.cache/pypoetry/virtualenvs/lotus-mammoth-backend-BC7 ......
django OperationalError server MySQL utils

HTTPS的工作原理

HTTPS工作原理可以归纳为以下几点: 使用SSL/TLS协议对HTTP请求和响应进行加密,形成HTTPS。SSL/TLS协议需要使用数字证书和其他技术对通信数据进行加密和验证。 当客户端与服务器第一次建立连接时,会进行SSL握手。服务端向客户端发送数字证书,客户端验证证书的有效性和服务器的身份。如 ......
原理 HTTPS

HTTP和HTTPS的区别

HTTP和HTTPS都是用于网页访问的协议,但存在以下主要区别: 安全性:HTTPS协议是由SSL/TLS加密的HTTP协议。HTTPS在HTTP之上添加SSL/TLS层,使用数字证书和其他技术对通信数据进行加密,所以HTTPS是更安全的协议。 速度:HTTPS比HTTP略慢,因为HTTPS要加密和 ......
HTTPS HTTP

关于CentOS8出现“Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist”

原因 因为centOS8于2021年12月31日停止了源的服务,而现在时间是2023年,所以之前的方法都不行的原因所在(本质是源的问题)。 解决方法 cd /etc/yum.repos.d sed -i 's/mirrorlist/#mirrorlist/g' /etc/yumrepos.d/Cen ......

【git】报错解决方案-'pre -commit hook failed (add --no-verify to bypass)'

git -commit 报错: 可以看到这个报错有两点,第一点是因为npm缓存问题,第二点是pre-commit导致的commit报错 pre-commit钩子都被存储在 Git 目录下的 hooks 子目录中。 当你用 git init 初始化一个新版本库时,Git 默认会在这个目录中放置一些示例 ......
no-verify 解决方案 方案 commit bypass

【git】报错解决方案-'This is probably not a problem with npm. There is likely additional logging output above.'

git -commit 报错: 原因:npm缓存造成的 解决方案: 删除packpackage-lock.json,删除所有依赖,执行 npm cache clean --force npm install ......

javascript protocol All In One

javascript protocol All In One JavaScript Security Vulnerabilities / JavaScript 安全漏洞 demos <a href="javascript:alert('👻 vulnerable message')">Hello W ......
javascript protocol All One In

python 项目报错 Fatal Python error: _enter_buffered_busy: could not acquire lock for <_io.BufferedWriter name='<stdout>'>

Fatal Python error: _enter_buffered_busy: could not acquire lock for <_io.BufferedWriter name=''> at interpreter shutdown, possibly due to daemon thre ......

ICMP协议(Internet Control Message Protocol)

互联网控制报文协议,所谓控制,就是通过下发指令来感知和控制网络环境,所以它一定是配合一个无法感知网络环境的协议来工作的,这个协议就是IP(包括IPV4和IPV6) ICMP协议全称Internet控制报文协议,是一个网络层的一个重要协议,一个新搭建好的网络,往往需要先进行一个简单地测试,;来验证网络 ......
Internet Protocol Control Message ICMP

cURL error 60: Peer's certificate issuer has been marked as not trusted by the user

PHP中的curl提供了发送网络请求的一系列函数,我们在使用的时候很方便,但有时也会遇到一些问题。标题的错误我曾经遇到过一次,解决之后没有做相关记录,导致最近遇到该错误时,又花了很多时间去解决。 cURL error 60: Peer's certificate issuer has been ma ......
certificate trusted issuer marked error

RabbitMQ: Error: unable to perform an operation on node 'rabbit@prod-ad-api-02'. Please see diagnostics information and suggestions below.

Error: unable to perform an operation on node 'rabbit@prod-ad-api-02'. Please see diagnostics information and suggestions below. rabbit@prod-ad-api-02 ......

$this->request->filter(['strip_tags', 'trim'])啥意思

在thinkphp5.0+,$this->request 是一个表示 HTTP 请求的对象实例。filter 方法通过传递一个或多个回调函数来过滤请求中的数据。 回调函数是 PHP 中的一种特殊函数,可以在运行时动态地传递到其他函数中。在这个例子中,回调函数是 strip_tags 和 trim。这 ......
39 strip_tags 意思 request filter

推荐一个简单好用的HTTPS证书监控工具

HTTPS证书监控可能是很多企业缺失的监控,大部分HTTPS证书有效期都是一年,每年都需要定时更换,这就需要想个办法一年后提醒来更换证书,常见的Zabbix、Prometheus都不能很好的直接监控证书,这时候就可以用Spug证书监控工具来帮你监控证书到期。 证书监控工具 Spug证书监控是专门用来 ......
证书 工具 HTTPS

What does .NET's String.Normalize do?

What does .NET's String.Normalize do? 回答1 One difference between form C and form D is how letters with accents are represented: form C uses a single l ......
Normalize String What does NET

使用富文本编辑,内容有<img src=xxx//xx//xx>报错:JSON parse error: Unexpected character ('\' (code 92)):...问题解决

前端使用富文本标签,填写内容里面有图片地址或一些特殊字符,保存时导致报错后台json不能解析内容到实体类相应的字段中去 报错代码:JSON parse error: Unexpected character ('\' (code 92)):... 解决办法: 1、有的说在配置xss过滤时开放,保存的 ......
Unexpected character 文本 内容 问题

运行pip报错:Fatal error in launcher: Unable to create process using '"'

在新环境上安装python的时候又再次遇到了这个情况,这次留意了一下,发现原来的文章有错误的地方,所以来更新一下,应该能解决大部分的问题。 环境是win8,原来只安装了python2.7。后来因为要用到python3,为了让两者共存,降python3的运行文件改成了python3.exe. 问题就此 ......
launcher process Unable create Fatal

module 'numpy' has no attribute 'int'.

原因:np.int 在 NumPy 1.20 中已弃用,在 NumPy 1.24 中已删除 AttributeError: module 'numpy' has no attribute 'int'. `np.int` was a deprecated alias for the builtin ` ......
39 attribute module numpy has