![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@happy-gastro/csr-generator
Advanced tools
Generate CSR with HTTP request on every platform withouut OpenSSL or other dependecies
This package provides a simple and straightforward way to generate Certificate Signing Requests (CSRs) and keys using HTTP SSL service so you don't need OpenSSL installed. It utilizes the csrgenerator.com
service to facilitate the generation process.
npm install @happy-gastro/csr-key-generator
To use this package, import the generateCSRAndKey function and call it with optional parameters:
import { generateCSRAndKey } from '@happy-gastro/csr-key-generator';
// Example usage:
generateCSRAndKey('HU', 'happygastro.hu', '', 'Software development', 'Happy Gastro Kft.', 'Pest megye', 'Hungary', '')
.then((result) => {
console.log('Generated CSR:', result.certificateRequest);
console.log('Generated Key:', result.privateKey);
})
.catch((error) => {
console.error('Error generating CSR and key:', error);
});
generateCSRAndKey(C: string, CN: string, subject: string, OU: string, O: string, L: string, ST: string, SC: string): Promise<object>
Here are the fields you can fill with your own parameters:
C: The Country field of CSR.
CN: The Common name field of CSR.
subject: (Optional) Subject Alt names.
OU: Organizational Unit field of CSR.
O: Organization field of CSR.
L: Locality field of CSR.
ST: State field of CSR.
SC: SC field of CSR.
import { generateCSRAndKey } from '@happy-gastro/csr-key-generator';
// Example usage:
generateCSRAndKey('HU', 'happygastro.hu', '', 'Software development', 'Happy Gastro Kft.', 'Pest megye', 'Hungary', '')
.then((result) => {
console.log('Generated CSR:', result.certificateRequest);
console.log('Generated Key:', result.privateKey);
})
.catch((error) => {
console.error('Error generating CSR and key:', error);
});
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
This project is developed and maintained by Farkas Ferenc.
Happy Gastro Ltd.
FAQs
Generate CSR with HTTP request on every platform withouut OpenSSL or other dependecies
The npm package @happy-gastro/csr-generator receives a total of 9 weekly downloads. As such, @happy-gastro/csr-generator popularity was classified as not popular.
We found that @happy-gastro/csr-generator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.