Giter Site home page Giter Site logo

redhat-qe-security / certgen Goto Github PK

View Code? Open in Web Editor NEW
8.0 4.0 4.0 159 KB

Library for creating X.509 certificates for any use

License: GNU General Public License v2.0

Makefile 1.70% Shell 98.30%
x509 ssl-certificates tls-certificate certificate-generation openssl

certgen's Introduction

Bash library for generating arbitrary certificates using the openssl command line tools.

Usable also as a beakerlib library.

See certgen/runtest.sh for usage examples.

certgen's People

Contributors

ansasaki avatar ep69 avatar psss avatar tomato42 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

certgen's Issues

DSA parameters generation issue with newer openssl

Newer versions of openssl require that numbits in openssl dsaparam must be the last argument.

Affected code: lib.sh:634
Affected version: OpenSSL 1.1.1-dev and OpenSSL 1.1.0f-dev

Excerpt from the newer manpage (dsaparam(1)):

numbits
    This option specifies that a parameter set should be generated of size numbits. It must be the last option. If this option is included then the input file (if
    any) is ignored.

Actual results:

# openssl dsaparam 1024 -out testparam.pem <<< ""
unable to load DSA parameters
140691007125312:error:0906D06C:PEM routines:PEM_read_bio:no start line:crypto/pem/pem_lib.c:691:Expecting: DSA PARAMETERS

Expected results:

# openssl dsaparam -out testparam.pem 1024 <<< ""
Generating DSA parameters, 1024 bit long prime
This could take some time
.+.+++++++++++++++++++++++++++++++++++++++++++++++++++*
...
# echo $?
0

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.