Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
fastify-mtls
Advanced tools
It will set up TLS on a fastify server, using Vault as CA with vault-pki-fetcher
const fastify = require('fastify')
const mtlsPlugin = require('fastify-mtls')
const server = fastify({
https: {
key: '',
cert: '',
requestCert: true,
rejectUnauthorized: true
}
})
server.register(mtlsPlugin, mtlsOptions)
const mtlsOptions = {
vaultNamespace: 'admin',
vaultAddress: 'http://localhost:8200',
roleId: 'fake-role-id',
secretId: 'fake-secret-id',
CAName: 'your_ca',
PKIRole: 'ca_role',
commonName: 'example.com',
ttl: '365d'
}
const server = fastify({
https: {
key: '',
cert: ''
}
})
server.register(mtlsPlugin, mtlsOptions)
await server.listen({ port: 0 })
console.log(server.mtls) // { ca: '...', cert: '...', key: '...' }
Apache 2.0
FAQs
Enables mTLS on a Fastify server
The npm package fastify-mtls receives a total of 0 weekly downloads. As such, fastify-mtls popularity was classified as not popular.
We found that fastify-mtls demonstrated a not healthy version release cadence and project activity because the last version was released 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
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.