cockpit-project / cockpit-certificates Goto Github PK
View Code? Open in Web Editor NEW(IN PROGRESS) certificate management plugin for cockpit
License: GNU Lesser General Public License v2.1
(IN PROGRESS) certificate management plugin for cockpit
License: GNU Lesser General Public License v2.1
When cockpit-project/cockpit#13641 is provided solution for, apply same solution here.
Hello,
Got cockpit installed under OpenSuSe Tumbleweed, and managed to install cockpit-certificates according to the instructions given.
The installation run according to the file attached. Got errors on rpmspec, an non-existent command under OpenSuSe, but it seems to be no big deal.
When I try to access the certificates session, I'm only seeing "Loading certificate Service" message.
Am I missing anything?
Would you mind on helping me with this?
Thanks a lot in advance,
BR
cockpit_certificates_installation_progress.txt
RixterSJC
As seen in this screenshot from #8:
"SelfSign" should be "Self-signed", as that's the proper name for this type. https://en.wikipedia.org/wiki/Self-signed_certificate
Hi @martinpitt
I am having the same issue. I'm trying to install cockpit-certificates as is in the documentation butm when try to run "make", I get this errors:
/cockpit-certificates# make
/bin/sh: 1: rpmspec: not found
/bin/sh: 1: rpmspec: not found
/bin/sh: 1: rpmspec: not found
NODE_ENV= node_modules/.bin/webpack
WARNING (@babel/preset-env): We noticed you're using the `useBuiltIns` option without declaring a core-js version. Currently, we assume version 2.x when no version is passed. Since this default version will likely change in future versions of Babel, we recommend explicitly setting the core-js version you are using via the `corejs` option.
You should also be sure that the version you pass to the `corejs` option matches the version specified in your `package.json`'s `dependencies` section. If it doesn't, you need to run one of the following commands:
npm install --save core-js@2 npm install --save core-js@3
yarn add core-js@2 yarn add core-js@3
More info about useBuiltIns: https://babeljs.io/docs/en/babel-preset-env#usebuiltins
More info about core-js: https://babeljs.io/docs/en/babel-preset-env#corejs
Killed
make: *** [Makefile:68: dist/manifest.json] Error 137
Current configuration:
/cockpit-certificates# npm -v
6.14.4
What can be hapening?
Thanks in advance.
Originally posted by @lncproducciones in cockpit-project/cockpit-machines#436 (comment)
The README file currently does not have installation instructions, dependencies needed, and other important things.
Hi, just a little remark:
Installation requires to write to root owned directory (755):
$ ls -ld /usr/share/cockpit
drwxr-xr-x 20 root root 4096 2. Jul 15:29 /usr/share/cockpit
Therefore, it has to be sudo make install
instead of make install
.
This is also already the case for other Cockpit applications like cockpit-podman or cockpit-machines.
Kind regards,
Lau
Update lib/cockpit-components-table.jsx
and other associated files when final version of cockpit-project/cockpit#13474 gets merged
root@server:/cockpit-certificates# make clean/cockpit-certificates# make
rm -rf dist/
rm -f cockpit-certificates.spec
rm -f po/LINGUAS
root@server:
rm -f package-lock.json
env -u NODE_ENV npm install
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '[email protected]',
npm WARN EBADENGINE required: { node: '>=16.0.0' },
npm WARN EBADENGINE current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '[email protected]',
npm WARN EBADENGINE required: { node: '>=14.0.0' },
npm WARN EBADENGINE current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '[email protected]',
npm WARN EBADENGINE required: { node: '>=14' },
npm WARN EBADENGINE current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '[email protected]',
npm WARN EBADENGINE required: { node: '^14.18.0 || >=16.0.0' },
npm WARN EBADENGINE current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '[email protected]',
npm WARN EBADENGINE required: { node: '>=14.18' },
npm WARN EBADENGINE current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }
npm WARN deprecated [email protected]: Please use @jridgewell/sourcemap-codec instead
added 447 packages, and audited 448 packages in 3m
118 packages are looking for funding
run npm fund
for details
found 0 vulnerabilities
env -u NODE_ENV npm prune
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '[email protected]',
npm WARN EBADENGINE required: { node: '^14.18.0 || >=16.0.0' },
npm WARN EBADENGINE current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '[email protected]',
npm WARN EBADENGINE required: { node: '>=16.0.0' },
npm WARN EBADENGINE current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '[email protected]',
npm WARN EBADENGINE required: { node: '>=14.0.0' },
npm WARN EBADENGINE current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '[email protected]',
npm WARN EBADENGINE required: { node: '>=14' },
npm WARN EBADENGINE current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '[email protected]',
npm WARN EBADENGINE required: { node: '>=14.18' },
npm WARN EBADENGINE current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }
up to date, audited 448 packages in 10s
118 packages are looking for funding
run npm fund
for details
found 0 vulnerabilities
remote: Enumerating objects: 1560, done.
remote: Counting objects: 100% (1531/1531), done.
remote: Compressing objects: 100% (1331/1331), done.
remote: Total 1481 (delta 259), reused 584 (delta 68), pack-reused 0
Receiving objects: 100% (1481/1481), 7.25 MiB | 5.08 MiB/s, done.
Resolving deltas: 100% (259/259), done.
git archive '4693a536e3262d3254d848daed251ef385ae5017^{tree}' -- pkg/lib test/common | tar x
NODE_ENV= ./build.js
file:///root/cockpit-certificates/build.js:16
const esbuild = (await import(useWasm ? 'esbuild-wasm' : 'esbuild')).default;
^^^^^
SyntaxError: Unexpected reserved word
at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)
at async link (internal/modules/esm/module_job.js:42:21)
make: *** [Makefile:85: dist/manifest.json] Error 1
Debug what's chowing down on CPU and fix the horrible performance issue causing browsers to freeze and crash
When "Request certificate" dialog is open, opening dev-tools causes the browser to freeze.
Hey,
I try to install cockpit certificates, but wen i type the make command, i have an error:
const esbuild = (await import(useWasm ? 'esbuild-wasm' : 'esbuild')).default;
^^^^^
SyntaxError: Unexpected reserved word
at Loader.moduleStrategy (internal/modules/esm/translators.js:133:18)
at async link (internal/modules/esm/module_job.js:42:21)
make: *** [Makefile:87 : dist/manifest.json] Erreur 1
IDK if it's me or not
Thx for help :)
After installing cockpit-certificates
it appears under Applications with Podman
and Storage
. When Podman or Storage is selected, the web page is redirected to the linked application. Instead when clicking on Certificate
a page with Not Found! appears.
Issue seems that Certificate
link under Applications redirect to https://a.b.c.d:9090/cockpit-certificates
instead of https://a.b.c.d:9090/certificates
As mentioned at https://fosstodon.org/@Cockpit/112488702547939715:
Is anyone using cockpit-certificates and interested in taking over its development and maintenance?
It currently works, we've kept it on life support with CI and dependabot and such, but it hasn't seen any real development in a long time.
If you are interested, please let us know. We are happy to provide guidance and help with PR reviews and such.
If nobody is interested, we'll archive the repository in two weeks.
Please contact us here in this issue and/or (ideally also) on Matrix at https://matrix.to/#/#cockpit:fedoraproject.org โ most Cockpit developers are usually there during European daytime hours on weekdays.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.