惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The Cloudflare Blog
L
LangChain Blog
WordPress大学
WordPress大学
V
V2EX
M
MIT News - Artificial intelligence
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Stack Overflow Blog
Stack Overflow Blog
J
Java Code Geeks
F
Fortinet All Blogs
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
腾讯CDC
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
D
Docker
Recent Announcements
Recent Announcements
GbyAI
GbyAI
博客园 - 叶小钗
小众软件
小众软件
Hugging Face - Blog
Hugging Face - Blog
T
The Blog of Author Tim Ferriss
人人都是产品经理
人人都是产品经理
Engineering at Meta
Engineering at Meta
Y
Y Combinator Blog
雷峰网
雷峰网
The GitHub Blog
The GitHub Blog

博客园 - 白马黑衣

RHEL - 笔记本合盖不休眠 RHEL - yum cache JFrog Artifactory 系列6 --- 其他配置 Node.js - 配置npm Rocky Linux 升级失败 Nginx 系列2 --- 配置 Linux --- firewalld 2 - nfttables Linux - DNS Apache HTTP Server 关闭SELinux RHEL - 设置hostname和IP地址 Linux --- 查看PID 判断端口是否已经被占用 Maven 常用命令 Jenkins 系列3 --- pipeline Git自签名证书的验证 iptables Jenkins 系列2 --- Node/Agent Jenkins 系列1 --- 安装与配置
网络安全3 - Easy RSA重新签发客户端证书
白马黑衣 · 2026-03-15 · via 博客园 - 白马黑衣

一、背景

网络安全2 - PKI (Public key infrastructure) 和 Easy RSA

二、重新签发客户端证书

1. 确认客户端证书的过期时间

cd /opt/EasyRSA/easyrsa3/pki/issued
openssl x509 -in client.crt -noout -text

查看Validity

image

2. 清除过期证书

rm -rf /opt/EasyRSA/easyrsa3/pki/reqs/client.req
rm -rf /opt/EasyRSA/easyrsa3/pki/private/client.key
rm -rf /opt/EasyRSA/easyrsa3/pki/issued/client.crt

3. 重新签发

只有成功删除过期证书,才能重新签发证书:

参考:网络安全2 - PKI (Public key infrastructure) 和 Easy RSA#4. 为Client生成密钥对和数字证书

cd /opt/EasyRSA/easyrsa3
./easyrsa build-client-full client nopass

如果删除过期证书失败,直接运行以上命令,则会报错:

image