1.创建根秘钥 openssl genrsa -out ca.key 20482.创建根证书 openssl req -new -x509 -days 36500 -sha256 -key ca.key -out openas.crt -subj "/C=CN/ST=Jiangsu/L=Nanjin ...
分类:
其他好文 时间:
2017-09-18 22:39:44
阅读次数:
394
1: 客户端获取要吊销证书的serial(在使用证书上的主机执行) openssl x509 -in httpd.crt -noout -serial -subject 2:拿到证书的编号后,通过编号吊销证书,这里的01表示证书的编号 openssl ca -revoke /etc/pki/CA/n ...
分类:
其他好文 时间:
2017-09-17 22:19:24
阅读次数:
247
一 修改root密码的三种办法 方法1: 用SET PASSWORD命令 首先登录MySQL。 格式:mysql> set password for 用户名@localhost = password('新密码'); 例子:mysql> set password for root@localhost ...
分类:
数据库 时间:
2017-09-01 18:55:22
阅读次数:
219
package nsqdimport ( "crypto/tls" "crypto/x509" "encoding/json" "errors" "fmt" "io/ioutil" "math/rand" "net" "os" "path" "runtime" "strings" "sync" "s... ...
分类:
其他好文 时间:
2017-08-31 12:41:31
阅读次数:
192
package clientv3import ( "crypto/tls" "crypto/x509" "io/ioutil" "time" "github.com/coreos/etcd/pkg/tlsutil" "github.com/ghodss/yaml")type Config struc... ...
分类:
其他好文 时间:
2017-08-30 14:17:18
阅读次数:
177
环境:centos 7 程序:docker 下载镜像报错: # docker pull centos Pulling repository centos FATA[0004] Get https://index.docker.io/v1/repositories/library/centos/ima ...
分类:
其他好文 时间:
2017-08-30 13:15:01
阅读次数:
332
韩梦飞沙 韩亚飞 313134555@qq.com yue31313 han_meng_fei_sha 向方案公司索要platform.x509.pem 和platform.pk8这两个文件。然后用signapk 对apk 进行系统签名 signapk platform.x509.pem platf ...
分类:
其他好文 时间:
2017-08-22 23:23:09
阅读次数:
313
本文转载自:http://zwkufo.blog.163.com/blog/static/2588251201382293049118/ 很多时候厂商或者三方提供的ROM并不能满足需求,比如系统自带软件陈旧、缺少GMS软件包(Google Mobile Service,包含了Gmail、Google ...
分类:
移动开发 时间:
2017-08-12 13:27:07
阅读次数:
497
创建私有CA:openssl的配置文件:/etc/pki/tls/openssl.cnf 1.创建所需要的文件#touchindex.txt#echo01>serial# 2.给CA发证<CA自签证书>#(umask077;opensslgenrsa-outprivate/cakey.pem2048)#opensslreq-new-x509-key/etc/pki/CA/private/cakey.pem-days7300-out/..
分类:
其他好文 时间:
2017-08-06 10:35:28
阅读次数:
152
jks的keystore转换成bks的keysotre,使用软件portecle软件进行转换,keystore有两个密码,一个进入keystore的密码,另外一个是访问keystore里面密码;使用opensll命令,生成无des的私钥,openssl pkcs12 -nocerts -in "Yo ...
分类:
其他好文 时间:
2017-07-27 09:37:07
阅读次数:
167