James's BLOG

pfx export key and crt

›
Get the private .key from the .pfx certificate openssl pkcs12 -in my_certificate.pfx -nocerts -out my_certificate-encrypted.key Get the decr...

Host header attack - Nginx

›
設定 nginx 假如 host/ http_host 不是自家 domain 導出 444 nginx 444 表示中斷連線, 連 header 都不會發出來     if ( $host !~* ^(mydomain.com)$ ) {         return 444;...

curl (60) peer’s certificate issuer is not recognized.

›
更新 SSL 後 CURL 失效 1. 將新的 .crt 拷貝至 /etc/pki/ca-trust/source/anchors 2. 執行 update-ca-trust extract 3. 測試 curl 是否可以重新讀取 ref:  https://ep.gnt.md/...

Install VirtualBox Guest Additions in CentOS

›
Step 1. update to last repo # yum -y install epel-release # yum -y update # yum install make gcc kernel-headers kernel-devel perl dkms bzip2...

CentOS 7 Install NFS Server / Client and Setting

›
NFS allows a linux server to share directories with other UNIX clients over network. NFS server exports a directory and NFS client mounts th...

如何使用 OpenSSL 建立開發測試用途的自簽憑證 (Self-Signed Certificate)

›
1. 建立 ssl.conf 設定檔 [req] prompt = no default_md = sha256 default_bits = 2048 distinguished_name = dn x509_extensions = v3_req [dn]...
‹
›
首頁
查看網路版
技術提供:Blogger.