curl (인증서 검증)
명령어 (예시) curl -v https://google.com curl -L -v --cacert /etc/pki/tls/certs/ca-bundle.crt https://www.google.com:443인증서 정보 출력 * About to connect() to google.com port 443 (#0) * Trying * Connected to google.com (178) port 443 (#0) * Initializing NSS with certpath: sql:/etc/pki/nssdb * CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none * SSL connection using TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA2..
Linux
2019. 6. 28. 09:32
curl 명령어
curl 명령어 /usr/bin/curl --interface tun1 google.com youtube.com -s -o /dev/null -w "%{http_code}\n" --connect-timeout 1 --interface : 특정 이더넷 장치를 통해서 통신하라 "%{http_code}\n" : 상태 코드를 출력 --connect-timeout 1 : 1초 동안 응답이 없으면 종료 (해당 옵션이 없으면 응답이 있을때 까지 기다림) curl -sI http://192.168.56.5 | awk '/Content-Length/ { print $2 }'
Linux
2018. 3. 16. 14:17
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- SSL
- gitlab
- NGINX
- iptables
- 리눅스
- php
- mod_security
- pptp
- GeoIP
- 베이어다이나믹
- virtualbox
- galera
- centos8
- kvm
- glusterfs
- ntp
- OpenVPN
- mariadb
- MySQL
- cURL
- 인증서
- centOS7
- Apache
- L2TP
- HAProxy
- ssh
- IPSEC
- WAF
- softether
- yum
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | 7 |
| 8 | 9 | 10 | 11 | 12 | 13 | 14 |
| 15 | 16 | 17 | 18 | 19 | 20 | 21 |
| 22 | 23 | 24 | 25 | 26 | 27 | 28 |
글 보관함
