Code Monkey home page Code Monkey logo

Comments (22)

cym1102 avatar cym1102 commented on May 26, 2024

from nginxwebui.

isdamir avatar isdamir commented on May 26, 2024

参数配置本身倒不是问题,主要是申请这里,申请能否我自己增加配置呢。

from nginxwebui.

cym1102 avatar cym1102 commented on May 26, 2024

from nginxwebui.

isdamir avatar isdamir commented on May 26, 2024

可以在原本的申请命令结尾增加参数 --keylength ec-256即可,可以保存到不同目录或者不同文件名即可
acme.sh --issue -w /home/wwwroot/example.com -d example.com --keylength ec-256

nginx设置双证书方式如下,配置两个即可

        ##
        # SSL Settings
        ##
        # ecc certificate
        ssl_certificate /etc/ssl/acme/nginx_ecc/cert.pem;
        ssl_certificate_key  /etc/ssl/acme/nginx_ecc/key.pem;
        # rsa certificate
        ssl_certificate  /etc/ssl/acme/nginx/cert.pem;
        ssl_certificate_key /etc/ssl/acme/nginx/key.pem;

from nginxwebui.

isdamir avatar isdamir commented on May 26, 2024

ecc可选长度参数如下:
可选长度有:

ec-256 (prime256v1, “ECDSA P-256”)
ec-384 (secp384r1, “ECDSA P-384”)
ec-521 (secp521r1, “ECDSA P-521”, which is not supported by Let’s Encrypt yet.)

from nginxwebui.

cym1102 avatar cym1102 commented on May 26, 2024

from nginxwebui.

isdamir avatar isdamir commented on May 26, 2024

非常感谢,另外不知道有没有人有http保持端口不变跳转https的需求,我看当前生成自动跳转是要不同端口的。如果加这个我可以fork增加吗。

from nginxwebui.

cym1102 avatar cym1102 commented on May 26, 2024

from nginxwebui.

isdamir avatar isdamir commented on May 26, 2024

OK,我自己用倒是简单。

from nginxwebui.

isdamir avatar isdamir commented on May 26, 2024

我更新了3.2.2版本,没有找到ECC的证书申请设置在哪里呢?
image

from nginxwebui.

cym1102 avatar cym1102 commented on May 26, 2024

from nginxwebui.

isdamir avatar isdamir commented on May 26, 2024

不能通过参数控制申请双证书吗,双证书对于老浏览器兼容性更好。

from nginxwebui.

cym1102 avatar cym1102 commented on May 26, 2024

from nginxwebui.

isdamir avatar isdamir commented on May 26, 2024

配置倒是没问题的,主要是申请是需要申请到两份,两份pem和key文件不一样。

from nginxwebui.

cym1102 avatar cym1102 commented on May 26, 2024

from nginxwebui.

isdamir avatar isdamir commented on May 26, 2024

对,是可以的,let's encrypt 支持同一个域名申请RSA和ECC双证书,配置双证书后通过https://myssl.com/可以检测到,浏览器会自行选择。可以最大幅度提高兼容性。

from nginxwebui.

cym1102 avatar cym1102 commented on May 26, 2024

from nginxwebui.

isdamir avatar isdamir commented on May 26, 2024

这个没问题,我通过模版配置到所有http里面即可。

from nginxwebui.

isdamir avatar isdamir commented on May 26, 2024

不过我刚发现,更新了新版本后直接续签后还是RSA的证书。

from nginxwebui.

isdamir avatar isdamir commented on May 26, 2024

image

from nginxwebui.

cym1102 avatar cym1102 commented on May 26, 2024

from nginxwebui.

isdamir avatar isdamir commented on May 26, 2024

OK。了解了

from nginxwebui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.