Skip to content

Custom --config-dir chokes on copying options-ssl.conf #451

Closed

Description

@kuba
(venv)root@le:~/lets-encrypt-preview# rm -rf /etc/letsencrypt/ /var/lib/letsencrypt/ && letsencrypt -vv -ted foo.com -m [email protected] --config-dir /tmp/le auth
DEBUG:root:Logging level set at 10
DEBUG:root:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#nginx,PluginEntryPoint#standalone)
Traceback (most recent call last):
  File "/root/lets-encrypt-preview/venv/bin/letsencrypt", line 9, in <module>
    load_entry_point('letsencrypt==0.1', 'console_scripts', 'letsencrypt')()
  File "/root/lets-encrypt-preview/letsencrypt/cli.py", line 380, in main
    return args.func(args, config, plugins)
  File "/root/lets-encrypt-preview/letsencrypt/cli.py", line 118, in auth
    config, args.authenticator, plugins)
  File "/root/lets-encrypt-preview/letsencrypt/display/ops.py", line 93, in pick_authenticator
    config, default, plugins, question, (interfaces.IAuthenticator,))
  File "/root/lets-encrypt-preview/letsencrypt/display/ops.py", line 69, in pick_plugin
    verified.prepare()
  File "/root/lets-encrypt-preview/letsencrypt/plugins/disco.py", line 187, in prepare
    return [plugin_ep.prepare() for plugin_ep in self._plugins.itervalues()]
  File "/root/lets-encrypt-preview/letsencrypt/plugins/disco.py", line 91, in prepare
    self._initialized.prepare()
  File "/root/lets-encrypt-preview/letsencrypt_apache/configurator.py", line 147, in prepare
    temp_install(self.conf('mod-ssl-conf'))
  File "/root/lets-encrypt-preview/letsencrypt_apache/configurator.py", line 1175, in temp_install
    shutil.copyfile(constants.MOD_SSL_CONF, options_ssl)
  File "/usr/lib/python2.7/shutil.py", line 83, in copyfile
    with open(dst, 'wb') as fdst:
IOError: [Errno 2] No such file or directory: '/etc/letsencrypt/options-ssl.conf'

Activity

  1. schoen commented on May 29, 2015

    @schoen
    Contributor

    Conceivably related to #443? (I don't know what's behind either problem, but #443 also seemed to produce some errors related to references to options-ssl.conf.)

  2. added a commit that references this issue on Jun 2, 2015
    8fe6584
  3. kuba commented on Jun 2, 2015

    @kuba
    ContributorAuthor

    Fixed in #451

  4. kuba commented on Jun 9, 2015

    @kuba
    ContributorAuthor

    Ups, meant that it's fixed in #440.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions