Giter Site home page Giter Site logo

authgovptsaml's Introduction

AuthGovPTSaml

.NET helper lib for autenticacao.gov.pt SAML authentication protocol integration with the Portuguese citizen card and the chave móvel digital.

You can enable your application or website with the Portuguese citizen card and chave móvel digital authentication provider. As you can find on many governmental website services such as Portal das Finanças, Portal do cidadão, etc.

This is a working progress :)

Credits

A lot of the information you can find on this project, documentation, samples and codes are from myself and from AMA (Agência para a Modernização Administrativa) technical teams.

Useful and additional documentation

Autenticação Gov Pt

SAML

OpenSSL

Download OpenSSL:

Useful commands:

  • Generate RSA 2048 key

openssl genrsa -out myRsaKeys.key 2048

  • Generate Certificate Signing Request (CSR)

    openssl req -new -sha256 -key myRsaKeys –out certificate_signing_request.csr

PFX commands

  • Generate a pfx file with myKeys.key and myCert.cert (or pem file formats)

    openssl pkcs12 -export -in myCert.cer –inkey myRsaKeys.key -out myCertWithKeys.pfx

  • If you have the p7b file with the cert chain

    openssl pkcs7 -inform der -print_certs –in cert_and_chain.p7b -out cert_and_chain.cer

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.