
🔐 서버 인증서를 추출하는 CLI 도구
서버 인증서를 추출하는 CLI 도구

실행 파일은 Releases에서 다운로드할 수 있습니다. 또는 다음 방법 중 하나를 사용하여 도구를 설치할 수도 있습니다:
brew install crip 실행brew install hakky54/homebrew-apps/crip 실행sudo add-apt-repository ppa:hakky554/apps && sudo apt update && sudo apt-get install crip -t 'o=LP-PPA-hakky554-apps' 실행nix-shell -p certificate-ripper 실행 또는 configuration.nix 파일에 pkgs.certificate-ripper 추가choco install crip 실행scoop install extras/crip 실행최소 요구 사항:
추가 OS별 요구 사항
sudo apt-get update && sudo apt-get install build-essential libz-dev zlib1g-dev -yxcode-select --installchcp 65001(UTF-8 인코딩)이 활성화되어 있는지 확인mvn clean install -Pnative-image \
&& ./target/crip print --url=https://youtube.com/
OS 네이티브 실행 파일 바이너리는 파일 이름 crip을 가진 대상 디렉터리 아래에서 사용할 수 있습니다.
최소 요구 사항:
mvn clean install -Pfat-jar \
&& java -jar target/crip.jar print --url=https://youtube.com/
The fat jar will be available under the target directory having the file name crip.jar
Usage: crip [COMMAND]
Commands:
print Prints the extracted certificates to the console
export p12 Export the extracted certificate to a PKCS12/p12 type truststore
export jks Export the extracted certificate to a JKS (Java KeyStore) type truststore
export der Export the extracted certificate to a binary form also known as DER
export pem Export the extracted certificate to a base64 encoded string also known as PEM
Usage: crip print
Prints the extracted certificates to the console
-f, --format To be printed certificate format. This option is not required. Default is human-readable.
-u, --url Url of the target server to extract the certificates. Can be provided multiple times.
Usage: crip export pkcs12
Export the extracted certificate to a PKCS12/p12 type truststore
-u, --url Url of the target server to extract the certificates. Can be provided multiple times.
-p, --password TrustStore password. This option is not required. Default is changeit.
-d, --destination Destination of the to be stored file. Default is current directory if none is provided.
Usage: crip export der
Export the extracted certificate to a binary form also known as DER
-u, --url Url of the target server to extract the certificates. Can be provided multiple times.
-c, --combined Indicator to either combine all of the certificate into one file for a given url or export into individual files.
-d, --destination Destination of the to be stored file. Default is current directory if none is provided.
Usage: crip export pem
Export the extracted certificate to a base64 encoded string also known as PEM
-u, --url Url of the target server to extract the certificates. Can be provided multiple times.
-c, --combined Indicator to either combine all of the certificate into one file for a given url or export into individual files.
-d, --destination Destination of the to be stored file. Default is current directory if none is provided.
--include-header Indicator to either omit or include additional information above the BEGIN statement.
Other additional options applicable for all commands
--proxy-host Proxy host
--proxy-port Proxy port
--proxy-password Password for authenticating the user for the given proxy
--proxy-user User for authenticating the user for the given proxy
-t, --timeout Amount of milliseconds till the ripping should timeout
--resolve-ca Indicator to automatically resolve the root ca. Possible options: true, false
--resolve-siblings Indicator to automatically resolve the certificates from DNS names. Possible options: true, false
--cert-type To be extracted certificate types. Available Formats: root, inter, leaf, all. Default: all
crip export pkcs12 -u=https://github.com
crip export pkcs12 \
-u=https://youtube.com \
-u=https://github.com \
-u=https://stackoverflow.com \
-u=https://facebook.com
crip export pkcs12 -u=https://github.com -d=/path/to/directory
crip print -u=https://github.com
crip print -u=https://github.com -f=pem
crip print -f=pem \
-u=https://youtube.com \
-u=https://github.com \
-u=https://stackoverflow.com \
-u=https://facebook.com
crip export pem \
-u=https://stackoverflow.com \
--proxy-host=my-host.com \
--proxy-port=1234 \
--proxy-user=foo \
--proxy-password
crip export pem -u=https://github.com --combined=true
단일 URL만 지정하는 결합 옵션에서만 작동합니다.
crip export pem -u=https://github.com --combined=true --destination=/path/to/export/github-chain.crt