Giter VIP home page Giter VIP logo

qrf.core's Introduction

QrF.Core

基于.net core 2.2 的微服务框架

QrF.Core.Ids4 基于IdentityServer4的授权认证服务

开发阶段使用AddDeveloperSigningCredential()方法即可完成签名认证,但是在生产环境,我们必须使用AddSigningCredential()方法并且使用OpenSSL生成自己的签名证书

使用OpenSSL生成证书

官网下载并安装OpenSSL OpenSSL官网

下载 Win64 OpenSSL v1.1.1b 版本

在OpenSSL的bin文件夹,以管理员身份打开CMD执行以下命令:

openssl req -newkey rsa:2048 -nodes -keyout ids4.key -x509 -days 365 -out ids4.cer

下面将生成的证书和Key封装成一个文件,以便IdentityServer可以使用它们去正确地签名tokens

openssl pkcs12 -export -in ids4.cer -inkey ids4.key -out ids4.pfx

参考的应用框架

jinyancao

参考文章

.NET Core微服务实战-统一身份认证

开发环境

VS2017 / VS Code

.net core 2.2

旧版本已迁移至  [1.0分支](https://github.com/ren8179/QrF.Core/tree/1.0)

qrf.core's People

Contributors

ren8179 avatar

Watchers

James Cloos avatar 老赵 avatar

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.