【问题标题】:How do I switch SSL providers in MUP如何在 MUP 中切换 SSL 提供程序
【发布时间】:2019-02-28 23:26:36
【问题描述】:

为了在 MUP 中使用 Letsencrypt SSL,我只需在配置文件中添加一个代理:

proxy: {
domains: 'mydomain.com,www.mudomain.com',
ssl: {
  // Enable let's encrypt to create free certificates.
  // The email is used by Let's Encrypt to notify you when the
  // certificates are close to expiring.
  letsEncryptEmail: 'user@candidsky.com'
  // forceSSL: true
}

},

文档在这里

http://meteor-up.com/docs.html#ssl-support

但我找不到任何关于如何使用自定义 SSL 的信息,我需要使用 comodo SSL。

【问题讨论】:

  • “自定义 SSL”是什么意思?
  • @Jankapunkt 我使用 comodoSSL 设置了 SSL,他们在授权后为我提供了 pem 和密钥。我需要使用 comodo SSL 而不是letsencrypt。

标签: meteor mup


【解决方案1】:

这是一种方法

app: {
  ...
  ssl: {
    crt: './bundle.crt', // this is a bundle of certificates
    key: './private.key', // this is the private key of the certificate
    port: 443 // 443 is the default value and it's the standard HTTPS port
  }
  ...
}

请注意,您也可以在 key 字段中设置 pem key。 http://meteor-up.com/docs.html#ssl-support

【讨论】:

  • 我已经尝试过了,但它仍然使用 Letsencrypt 作为问题名称。它基本上使用 Letsencrypt 创建一个 docker 映像,强制使用它们进行 SSL。在浏览器上被拒绝。以下是使用 mup 设置创建的 docker 映像: 43534c01c43d jrcs/letsencrypt-nginx-proxy-companion "/bin/bash /app/entr..." mup-nginx-proxy-letsencrypt
  • 尝试进行 mup 设置然后重新配置 mup
猜你喜欢
  • 1970-01-01
  • 2014-06-02
  • 1970-01-01
  • 2019-11-29
  • 2021-12-18
  • 2011-10-31
  • 1970-01-01
  • 2017-09-01
  • 1970-01-01
相关资源
最近更新 更多