diff options
| author | Fuwn <[email protected]> | 2022-03-30 16:09:52 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-03-30 16:09:52 -0700 |
| commit | 429df3ab0481307e7cdac50bbd0afa6a1ff3fa77 (patch) | |
| tree | 009848386ee4671ce0572dd3e8495682e305b8cc /Makefile.toml | |
| parent | fix: reverts (diff) | |
| download | locus-429df3ab0481307e7cdac50bbd0afa6a1ff3fa77.tar.xz locus-429df3ab0481307e7cdac50bbd0afa6a1ff3fa77.zip | |
fix: new certificate loading method
Diffstat (limited to 'Makefile.toml')
| -rw-r--r-- | Makefile.toml | 32 |
1 files changed, 12 insertions, 20 deletions
diff --git a/Makefile.toml b/Makefile.toml index 80be522..83ab6d3 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -29,31 +29,23 @@ dependencies = ["fmt", "check", "clippy"] command = "openssl" args = [ "req", - "-newkey", - "rsa:2048", "-new", - "-nodes", - "-keyout", - "locus_private.pem", - "-out", - "locus_public.pem", "-subj", - "/CN=fuwn.me" -] - -[tasks.fixkey] -command = "openssl" -args = [ - "x509", - "-req", + "/CN=fuwn.me", + "-x509", + "-newkey", + "ec", + "-pkeyopt", + "ec_paramgen_curve:prime256v1", "-days", "365", - "-in", - "locus_public.pem", - "-signkey", - "locus_private.pem", + "-nodes", "-out", - "locus_pair.pem" + ".locus/windmark_public.pem", + "-keyout", + ".locus/windmark_private.pem", + "-inform", + "pem", ] [tasks.run] |