npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

make-csr-cli

v1.0.26

Published

A simple CLI tool to generate OpenSSL CSR files

Downloads

348

Readme

make-csr-cli

make-csr-cli is a command-line tool for generating Certificate Signing Requests (CSRs) easily and interactively. This tool simplifies the process of creating CSRs by providing a user-friendly prompt for entering required details.

Features

  • Interactive command-line prompts for input.
  • Generates a CSR and private key in one step.
  • Saves the CSR and key to specified files.
  • Works cross-platform: macOS, Linux, and Windows.

Installation

Install make-csr-cli globally using npm:

npm install -g make-csr-cli

Usage

Run the command in your terminal:

make-csr

Interactive Prompts

When you run make-csr, you will be prompted to enter the following details:

  • Country (C): The two-letter ISO country code.

  • State (ST): Your state or province.

  • Locality (L): Your locality name.

  • Organization (O): The name of your organization.

  • Organizational Unit (OU): The division within your organization.

  • Common Name (CN): The fully qualified domain name (FQDN) for the certificate.

Examples

$ make-csr
Configuration file not found. Please provide the following details:
? Enter Country Code (C) [e.g., JP]:
? Enter State or Province Name (ST) [e.g., Tokyo]:
? Enter Locality Name (L) [e.g., CHUOU-KU]:
? Enter Organization Name (O) [e.g., BRIDGE CO.,LTD.]:
? Enter Organizational Unit Name (OU) [e.g., BRIDGE CO.,LTD.]:
Common name not found. Do you want to provide content? [Y/n]:

Options

  • --cn: Common Name (CN)
  • --o: Organization (O)
  • --ou: Organizational Unit (OU)
  • --l: Locality (L)
  • --st: State (ST)
  • --c: Country (C)

Compatibility

make-csr-cli works on the following platforms:

  • macOS
  • Linux
  • Windows

Common Issues

Problem: "Command not found"

Solution: Ensure make-csr-cli is installed globally. If the issue persists, check that the npm global bin directory is in your PATH.

echo $PATH

Problem: "Permission denied" when saving files

Solution: Verify that you have write permissions for the specified file paths.

License

make-csr-cli is open-source software licensed under the MIT License. Contributions are welcome!