![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
信息安全
hkNaruto
这个作者很懒,什么都没留下…
展开
-
linux setfacl getfacl 实现对 文件、文件夹添加多个组、多个用户的复杂权限控制
新增/修改用户对目录或文件访问权限setfacl -R -m u:username:rwx target-dirsetfacl -R -m u:username:rwx target-file移除用户对目录或文件访问权限setfacl -R -x u:username:rwx target-dirsetfacl -R -x u:username:rwx target-file新增/修改用户组对目录或文件访问权限setfacl -R -m g:groupname:rwx原创 2022-01-24 15:43:32 · 2915 阅读 · 0 评论 -
openssl CA.sh 产生自定义CA,签发https证书,并配置到Nginx,支持IE, Chrome
编辑CA.sh内容如下:#!/bin/sh## CA - wrapper around ca to make it easier to use ... basically ca requires# some setup stuff to be done before you can use it and this makes# things easier between...原创 2018-03-14 16:36:23 · 4212 阅读 · 0 评论 -
java 获取https ssl证书有效期等信息
package com.hknaruto.cmdApp;import javax.net.ssl.HttpsURLConnection;import java.net.URL;import java.security.cert.Certificate;import java.security.cert.X509Certificate;public class Main { ...原创 2019-02-26 17:26:03 · 8568 阅读 · 0 评论