• 2024-09-25x509: cannot validate certificate for 192.168.0.56 because it doesn't contain any IP SANs
    containerd里无法拉取镜像无法从私建的harbor上拉取报错FATA[0000]pullingimage:rpcerror:code=Unknowndesc=failedtopullandunpackimage x509:cannotvalidatecertificatefor192.168.0.56becauseitdoesn'tcontainanyIPSANs 若是配置之后还是一直报x5
  • 2024-09-25Understanding the difference between a Java keystore and a truststore
    Atruststoreisafilethatcontainsoneormorepubliccertificates,butnoprivatekeys. Akeystoreisafilethatcontainsoneormorepubliccertificatesandoneormoreprivatekeys.Thisistypicallya"chain"wherethekeystorecontain
  • 2024-09-25Create a .pem File for TLS/SSL Certificate Installations
    .pemTLS/SSLCreationInstructionsSSL.pemfiles(concatenatedcertificatecontainerfiles),arefrequentlyrequiredforcertificateinstallationswhenmultiplecertificatesarebeingimportedasonefile.Thisarticlecontainsmultiplesetsofinstructi
  • 2024-09-25How to convert a certificate into the appropriate format
    SolutionIfyourserver/devicerequiresadifferentcertificateformatotherthanBase64encodedX.509,athirdpartytoolsuchasOpenSSLcanbeusedtoconvertthecertificatesintotheappropriateformat.ForinformationonOpenSSLpleasevisit: www.ope
  • 2024-09-215. 数字证书与公钥基础设施
    5.数字证书与公钥基础设施(1)PKI的定义、组成及应用PKI(PublicKeyInfrastructure,公钥基础设施)是一个使用公钥技术来提供安全服务的框架。它定义了如何管理和维护公钥,以及如何通过证书来验证公钥的真实性。PKI的核心组成部分包括:证书颁发机构(CA,CertificateAutho
  • 2024-09-13SSL: CERTIFICATE_VERIFY_FAILED 问题
    使用python的过程中,在发送网络请求时有时候会遇到如下问题:ssl.SSLCertVerificationError:[SSL:CERTIFICATE_VERIFY_FAILED]certificateverifyfailed:unabletogetlocalissuercertificate这个问题产生原因是python发送请求的网站或地址是https,这时需要验证对方网站的证
  • 2024-09-10docker Get "https://registry-1.docker.io/v2/": x509: certificate is valid for
    前言docker在进行build时,报错:Get"https://registry-1.docker.io/v2/":x509:certificateisvalidfor问题原因:Docker客户端无法验证DockerHub服务器的SSL/TLS证书解决在/etc/docker/daemon.json中新增国内镜像源:"registry-mirrors":["https:/
  • 2024-09-08JS解密工具之如何续期 Charles 的 SSL 证书
    本文由jsjiami加密/一键JS解密独家赞助有问题请私聊加密官方客服Charles是一款常用的HTTP代理工具,用于调试网络请求。然而,Charles的SSL证书会定期过期,如果SSL证书失效,你将无法对HTTPS请求进行抓包。本文将详细讲解如何续期Charles的SSL证书,并附上详细步骤图。1.
  • 2024-09-04测试环境下使用HTTPS证书申请
    一、准备linux的机子真实的域名二、安装Snapd安装地址:Certbot(eff.org)下滑查找选择安装的操作系统1.安装snapdyum-yinstallepel-releaseyum-yinstallsnapd2.创建软链接systemctlenable--nowsnapdln-s/var/lib/snapd/snap/snapsnap--help三、
  • 2024-09-03Kestrel
    {"Kestrel":{"Endpoints":{"Http":{"Url":"http://localhost:5000"},"HttpsInlineCertFile":{"Url":"https://localhost:5001",
  • 2024-08-30nginx服务器如何配置ssl证书演示
    nginx服务器如何配置ssl证书,配置代码如下:server{#listen80default_server;listen443;#listen[::]:80default_serveripv6only=on;server_name你的域名;indexindex.phpindex.htmlindex.htm;root/mnt/te
  • 2024-08-27Nginx 配置文件说明
    1.全局配置这些配置通常位于配置文件的最顶部,影响整个NGINX的行为。worker_processes:作用:指定NGINX进程的数量。建议设置为服务器CPU核心的数量以提高性能。示例:worker_processes1;error_log:作用:指定错误日志文件的位置和日志级别(如debug,info,notice,
  • 2024-08-22安装部署harbor
    配置文件中修改内容hostname和证书私钥需要指定到文件hostname:hub.rainsc.com#httprelatedconfighttp:#portforhttp,defaultis80.Ifhttpsenabled,thisportwillredirecttohttpsportport:80#httpsrelatedconfighttps:#httpsportfor
  • 2024-08-22海光 FTPM 运行报错:Fapi_Provision_Finish() ErrorCode (0x00060025) No EK certificate found.
    使用的是海光CPU提供的基于固件的FTPM,错误原因是海光没有给TPM提供相应的EK证书。从而导致Fapi_Provision()接口无法通过证书的校验。关于Fapi_Provision()接口的功能,官网提到是:RetrievetheEKtemplate,nonceandcertificate,verifythattheymatchtheTPM’sEK
  • 2024-08-01Java 从P12文件中提取公钥、私钥,并导出为DER、PEM和CERT格式的证书
    importjava.io.*;importjava.security.KeyStore;importjava.security.PrivateKey;importjava.security.PublicKey;importjava.security.cert.Certificate;importjava.util.Enumeration;importjava.util.Base64;publicclassP12ToKeysAndCerts{public
  • 2024-07-25使用 Scrapy 进行身份验证并登录用户会话的证书?
    在Scrapy文档中,有以下示例说明如何在Scrapy中使用带有登录数据的经过身份验证的会话:classLoginSpider(BaseSpider):name='example.com'start_urls=['http://www.example.com/users/login.php']defparse(self,response):return[FormRequest.from_response(
  • 2024-07-24[error] [default] Error sending telemetry FetchError: The pending stream has been canceled (caused b
    我在VSCode使用GithubCopilot时遇到了一个问题。报错信息如下:[error][default]ErrorsendingtelemetryFetchError:Thependingstreamhasbeencanceled(causedby:unabletoverifythefirstcertificate)具体信息:2024-07-2317:44:56.712[error][default]Erro
  • 2024-07-23该如何找到可靠的SSL证书提供商呢?
    一、了解SSL证书的基本知识首先,对SSL证书的基本类型和功能有一个清晰的了解是非常重要的。SSL证书主要用于在网站和用户浏览器之间建立加密连接,保护数据传输的安全性。常见的SSL证书类型包括域名验证(DV)、组织验证(OV)和扩展验证(EV)证书,每种类型具有不同的验证级别和适用场景。二
  • 2024-07-15纯 bash 实现
    pidof#!/bin/sh#定义一个函数,参数为进程名pidof_process(){if[$#-ne1];thenecho"Usage:pidof_process<process_name>"return1filocalprocess_name="$1"localpids#使用ps命令查找指定进程名的PID,并排除自身
  • 2024-07-02Android系统签名简介
    apk的签名,简单说开发者可以通过签名对应用进行标识和更新。包名在一个设备上是唯一的,这样可以避免被相同包名应用随意覆盖安装。这是一个非常重要的安全功能。系统中的签名文件,也是对系统中应用进行签名,编译应用是可以指定签名类型。 下面介绍的是Android系统中的签名相关内容
  • 2024-06-18fastapi+https
    docker-fastapi-celeryhttps://github.com/fanqingsong/docker-fastapi-celery 设置了https证书,可以运行查看效果。 RunonlocalmachineInstalldockeranddocker-composeRunentireappwithonecommandshlocal_env_up.sh contentoflocal_env_up.shs
  • 2024-06-12【解决了一个小问题】因为镜像证书的问题,golang http client出现错误 `tls: failed to verify certificate: x509: certificate sig
    作者:张富春(ahfuzhang),转载时请注明作者和引用链接,谢谢!cnblogs博客zhihuGithub公众号:一本正经的瞎扯一个服务使用Docker打包镜像,部署到k8s后出现如下的错误信息:tls:failedtoverifycertificate:x509:certificatesignedbyunknownauthority出错的位置是
  • 2024-06-10Git-SSL证书-验证问题-可能由加速器引起:SSL certificate problem: unable to get local issuer certificate问题出现的可能原因
    一、问题的出现    当我们在使用Git 将本地仓库的代码推送到远程仓库或者从远程仓库克隆到本地时可能遇到以下问题。fatal:unabletoaccess'https://github.com/User/XXX/':SSLcertificateproblem:unabletogetlocalissuercertificate    即
  • 2024-05-29request to https://registry.npm.taobao.org/cnpm failed, reason: certificate has expired
    换华为的,否则会出问题:cnpmconfgsetregistryhttps://mirrors.huaweicloud.com/repository/npm/npmERR!codeCERT_HAS_EXPIREDnpmERR!errnoCERT_HAS_EXPIREDnpmERR!requesttohttps://registry.npm.taobao.org/cnpmfailed,reason:certificatehasexpirednpmER
  • 2024-05-26Android.mk变量解析
    前言Android.mk是Android提供的一种makefile文件,用来指定诸如编译生成so库名、引用的头文件目录、需要编译的.c/.cpp文件和.a静态库文件等。要掌握jni,就必须熟练掌握Android.mk的语法规范。LOCAL_PATH:=$(callmy-dir)一个Android.mkfile首先必须定义好LOCAL_PATH变量