Git Product home page Git Product logo

zurl's Introduction

国密 http client cli

gen command 支持签发RSA,ECC,SM2证书 client 支持指定加密套件(支持国密套件)请求https server

安装方式

cargo install --git https://github.com/iamwwc/zurl

签发CA

zurl gen --ca www.example.com .

签发leaf

zurl gen www.test.com . --ca-cert ./www.example.com.ca.cert.pem --ca-key ./www.example.com.ca.key.pem

请求

zurl client --sni test.com --tls-version 1.3 --cipher TLS_SM4_GCM_SM3 https://127.0.0.1:3000

Debian如何安装RootCA

sudo mkdir /usr/local/share/ca-certificates/extra
sudo cp root.cert.pem /usr/local/share/ca-certificates/extra/root.cert.crt
sudo update-ca-certificates

本地开发测试

cargo install --path ./crates/zurl

zurl's People

Contributors

taikulawo avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

icodein

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.