certificate verification different hostname
源码学习 出现彻底解决unable to find valid certification path to requested target
说明:很久前spring 5.1X源码搭建成功,近阶段看源码发现更新类库出现 “:unable to find valid certification path to requested target 原因是:源码更新的是官网类库,官网需要国外我网站不能实时访问很慢,所以映射需要执行ali 服务器, ......
[FreeBSD] How to modify hostname
Hi Matt, As root, type "hostname <new hostname>", and the hostname will be changedimmediately. To make this change permanent across reboots, edit the ......
CF660E Different Subsets For All Tuples
题意 给定一个长度为 \(n\) 的序列。 每个数字的范围为 \([1, m]\)。 求一共 \(m ^ n\) 种数列,每个数列种本质不同的子序列个数之和。 Sol 考虑用一种比较好的方式表示答案。 枚举本质不同的子序列长度,枚举中间跳过的数的个数。 \[m ^ n + \sum_{i = 1} ......
启动微服务报错:java.lang.IllegalStateException: Service id not legal hostname (seata_storage_micro_service)
Order微服务通过 opneFeign 调用 storage 和 account 时报错 原因分析: 服务名称不能有下划线,可以使用中划线,Springcloud无法识别下划线,将下划线改为中划线即可 注意:这个改了之后,你在进行远程调用的时候,接口对应的方法接口也需要相应改变【分布式开发,一个微 ......
.Net6 Unable to configure HTTPS endpoint. No server certificate was spec 开发者证书过期或无效
1.删除无效的证书 右键都删除 2.cmd窗口输入以下命令 dotnet dev-certs https dotnet dev certs https--trust 3.附其他 dotnet dev-certs https --clean 清理开发人员证书命令 ......
CF1867F Most Different Tree记录
题目链接:https://codeforces.com/contest/1867/problem/F 题意简述 记 \(P(T)\) 为一棵树 \(T\) 的所有子树的集合。给定一棵 \(n\) 个点的树 \(T\),找出点数相同的树 \(T'\),使 \(P(T')\) 的“与 \(P(T)\) ......
[LeetCode] 2482. Difference Between Ones and Zeros in Row and Column
You are given a 0-indexed m x n binary matrix grid. A 0-indexed m x n difference matrix diff is created with the following procedure: Let the number o ......
使用Apache POI 导入导出时出现You need to call a different part of POI to process this data (eg XSSF instead of HSSF)Java异常
问题复现 在学习导出功能时使用HSSFWorkbook导出了一个xxx.xlsx格式的文件,然后用XSSFWorkbook的读取方式来拿文件去导入时出现了这个bug 这是当时做导出测试代码 Workbook wb = new HSSFWorkbook(); CreationHelper creati ......
vscode报错Already included file name ‘xxx‘ differs from file name ‘xxx‘ only in casing的解决方法:
场景:我们创建了一个文件是小写开头的,又改成大写开头的。 比如: relationDemo.vue 改成 RelationDemo.vue 原因:缓存的判重逻辑是不区分大小写导致的。在这种情况下,vscode缓存中放的是relationDemo.vue,改了大小写后,vscode试图把Relatio ......
CF1838C No Prime Differences 题解
题意: 思路: 构造: $ n $ 行 $ m $ 列,先填奇数行,每行填 $ m $ 个,第 $ 2i - 1 $ 行依次填入 $ (i - 1) \cdot m + 1 $ , $ (i - 1) \cdot m + 2 $ , $ ... $ , $ i \cdot m - 1 $ , $ i ......
Jenkins构建Host key verification failed. lost connection
使用jenkins发版,构建时使用了调用shell从jenkins服务器scp jar包到业务服务器。 由于新购买了服务器,并且要将jar包cp到新购买的服务器上,涉及到前任运维交接问题,这块一直没有了解。 在jenkins服务器 su jenkins切换到jenkins用户,找到/var/lib/ ......
ORA-01187 cannot read from file 201 because it failed verification tests..temp01
Description:We get this message in running the Upgrade Express 20-21 export (create_customer_data):ORA-01187: cannot read from file 201 because it fai ......
[LeetCode] 1685. Sum of Absolute Differences in a Sorted Array
You are given an integer array nums sorted in non-decreasing order. Build and return an integer array result with the same length as nums such that re ......
CentOS 操作系统中修改主机名(hostname)
使用命令行: 打开终端。 使用 hostnamectl 命令可以直接修改主机名。例如,如果您想将主机名更改为 mynewhostname,您可以使用以下命令: sudo hostnamectl set-hostname mynewhostname 这个命令会立即更改主机名,但为了让更改在重启后依然有 ......
Linux - 设置hostname
1. 命令 sudo hostnamectl set-hostname <name> sudo reboot 2. 参考 https://wiki.crowncloud.net/?How_to_Change_Hostname_in_Rocky_Linux_9 ......
FTP客户端提示「响应: 530 Valid hostname is expected.」可尝试的解决方案
响应: 530 Valid hostname is expected. 该响应的意思是“需要有效的主机名”,通常在 FTP 登录时出现。这个响应表示 FTP 服务器要求客户端提供一个有效的主机名,以便服务器能够识别它。如果出现该响应,可能是因为输入的主机名错误或服务器无法识别它。 解决方案 用户名前 ......
git SSL certificate problem: unable to get local issuer certificate
错误: git SSL certificate problem: unable to get local issuer certificate 这个问题是由于没有配置信任的服务器HTTPS验证。默认,cURL被设为不信任任何CAs,就是说,它不信任任何服务器验证。 解决方法 git config - ......
OpenSSL - Certificate Generation
We will use the OpenSSL (https://www.openssl.org/source/) tool to generate self-signed certificates. A certificate authority (CA) is responsible for s ......
unable to find valid certification path to requested target
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathB ......
docker login 时报x509: certificate signed by unknown authority
1、打开daemon.json,加入你的私库地址 vi /etc/docker/daemon.json { "registry-mirrors": ["https://8f6a79wk.mirror.aliyuncs.com"], "insecure-registries":["私库地址"] } 备 ......
简单例子理解 Qt 中 QObject: Cannot create children for a parent that is in a different thread. 问题
c++ gui programming with qt 中关于 QThread的用法的限制 下面这句话的翻译不清 QObject is reentrant, but there are three constraints to keep in mind: Child QObjects must be ......
[937] Combine different shapefiles and remove duplicate features
In arcpy, you can combine different shapefiles and remove duplicate features using the arcpy.management.Merge tool and the arcpy.management.DeleteIden ......
执行git clone命令报错 ssl certificate problem:unable to get local issue certificate问题的处理
1、背景说明 使用git clone命令,拉取远程的https的git仓库时,报错: unable to access "https://xxxx.com/n_patch_test.git/": ssl certificate problem:unable to get local issue ce ......
kubeadm部署的k8s证书过期问题 k8s问题排查:the existing bootstrap client certificate in /etc/kubernetes/kubelet.conf is expired
解决问题: 估计跟移动有关,下面那个没解决问题,是因为在原有文件的基础上修改的吧?而这里直接是移走,重新生成了新的。不太清楚是不是这个原因。 $ cd /etc/kubernetes/pki/ $ mv {apiserver.crt,apiserver-etcd-client.key,apiserv ......
EF报错:Unable to create an object of type 'XXXXXXX'. For the different patterns supported at design time, see https://go.microsoft.com/fwlink/?linkid=851728
这个是在EF迁移的时候报错: 解决方案:修改你的MyDbcontext: 代码如下: public class StoreDbContexttFactory : IDesignTimeDbContextFactory< ‘你的类名’> { public ‘你的类名’CreateDbContext(s ......
ALLEGRO导网表报错This reference has already been assigned to a different package type
(1)QUESTION(ORCAP-1589): Net has two or more aliases - possible short?原因:器件默认管脚命名(NET名称)与所连接网络的NET名称不一致导致的措施:可忽略。或关闭Tools->Design Rules Check->Physica ......
Python打开https链接报错:unable to get local issuer certificate
Python打开https链接报错:unable to get local issuer certificate 或安装Python3.10以上版本,需要openssl 1.1.1以上版本,会导致openssl 下面缺少证书,记录下安装方法 问题描述: 当使用urllib.urlopen打开一个 h ......
[LeetCode] 2574. Left and Right Sum Differences
Given a 0-indexed integer array nums, find a 0-indexed integer array answer where: answer.length == nums.length. answer[i] = |leftSum[i] - rightSum[i] ......
Jenkins问题记录:Git SSH方式访问,报错:Host key verification failed. (Windows)
问题:在本地windows机器上安装了jenkins,并且设置好Git SSH凭据,在git bash命令行窗口可以使用git pull命令,但是在jenkins 中执行git pull就会报错。 报错信息: Host key verification failed. fatal: Could no ......
codeforces 1829G. Hits Different 容斥原理+记忆化搜索
题目描述: 给定一个n,把n给打倒,然后递归的求出包含n在内的上面所有的会倒下的瓶子值的平方和。 这里使用二分先求出目前给定的n的行号i和列号j。观察可以发现,对于所有的列号j,j=1或者j=i时,是需要考虑往上单边的总和,其他情况都有两个分支。 再观察可以发现,两个分支在再上一行的重合部分,会被d ......