Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
ssl-autoupdater
Advanced tools
Readme
This project is aimed to update SSL certificates (manually uploaded, such as Let's Encrypt) automatically on different server providers (QCloud, Aliyun, Qiniu, etc.).
Supported Providers
Make sure there are certificates on your machine, and this project will upload and update them automatically.
The default certificate founder is acme.sh
, you can modify the option founder
as a function to customize. For further instructions, please refer to the type definition.
Install the package
npm i -S ssl-autoupdater
Example:
const autossl = require("ssl-autoupdater")
const QCloudUpdater = new autossl.updater.QCloud("your secretId", "your secretKey")
QCloudUpdater.watch() // watch and update automatically
Advanced usage for sending mail:
const mailer = new autossl.MailSender({
host: "smtp.example.com",
port: 465,
secure: true,
auth: { // authentification for the smtp server
username: "your auth username",
password: "your auth password"
},
sender: { // set the sender
name: "your name to send",
email: "your email to send"
},
receiver: ["who@example.com"] // a list of receivers
})
const QCloudUpdater = new autossl.updater.QCloud("your secretId", "your secretKey", {
mailer: mailer // when the option `mailer` is set, the updater will send mail once after triggering the event
})
More examples can be found in directory test/
.
Pull cnily03/ssl-autoupdater
from Docker Hub
docker run -itd \
-v /path/to/your/config.js:/app/data/config.js \
-v ~/.acme.sh:/root/.acme.sh \
--restart=always \
--name ssl-autoupdater \
cnily03/ssl-autoupdater
Replace /path/to/your/config.js
with your own configuration file.
Or you can mount the whole directory to /app/data/
to make it easier to manage.
Configuration file is similar to the file config.js
at the root of this repository.
CopyRight (c) Cnily03. All rights reserved.
Licensed under the MIT License.
FAQs
Automatically update SSL certificate on different cloud platforms
The npm package ssl-autoupdater receives a total of 1 weekly downloads. As such, ssl-autoupdater popularity was classified as not popular.
We found that ssl-autoupdater demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.