{"action":"created","issue":{"url":"https://api.github.com/repos/certbot/certbot/issues/3698","repository_url":"https://api.github.com/repos/certbot/certbot","labels_url":"https://api.github.com/repos/certbot/certbot/issues/3698/labels{/name}","comments_url":"https://api.github.com/repos/certbot/certbot/issues/3698/comments","events_url":"https://api.github.com/repos/certbot/certbot/issues/3698/events","html_url":"https://github.com/certbot/certbot/issues/3698","id":185673384,"number":3698,"title":"Common Name inconsistent with --webroot-map","user":{"login":"patf","id":277794,"avatar_url":"https://avatars0.githubusercontent.com/u/277794?v=4","gravatar_id":"","url":"https://api.github.com/users/patf","html_url":"https://github.com/patf","followers_url":"https://api.github.com/users/patf/followers","following_url":"https://api.github.com/users/patf/following{/other_user}","gists_url":"https://api.github.com/users/patf/gists{/gist_id}","starred_url":"https://api.github.com/users/patf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patf/subscriptions","organizations_url":"https://api.github.com/users/patf/orgs","repos_url":"https://api.github.com/users/patf/repos","events_url":"https://api.github.com/users/patf/events{/privacy}","received_events_url":"https://api.github.com/users/patf/received_events","type":"User","site_admin":false},"labels":[{"id":200596079,"url":"https://api.github.com/repos/certbot/certbot/labels/area:%20ui%20/%20ux","name":"area: ui / ux","color":"c5def5","default":false},{"id":276243286,"url":"https://api.github.com/repos/certbot/certbot/labels/area:%20webroot","name":"area: webroot","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/certbot/certbot/milestones/8","html_url":"https://github.com/certbot/certbot/milestone/8","labels_url":"https://api.github.com/repos/certbot/certbot/milestones/8/labels","id":1353913,"number":8,"title":"1.0.0","description":"In theory, this milestone should be for things we consider necessary to consider the client solid and out of beta.  But it's become something of a holding place for many kinds of polishing tickets, and will probably need to be triaged further.","creator":{"login":"pde","id":479213,"avatar_url":"https://avatars3.githubusercontent.com/u/479213?v=4","gravatar_id":"","url":"https://api.github.com/users/pde","html_url":"https://github.com/pde","followers_url":"https://api.github.com/users/pde/followers","following_url":"https://api.github.com/users/pde/following{/other_user}","gists_url":"https://api.github.com/users/pde/gists{/gist_id}","starred_url":"https://api.github.com/users/pde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pde/subscriptions","organizations_url":"https://api.github.com/users/pde/orgs","repos_url":"https://api.github.com/users/pde/repos","events_url":"https://api.github.com/users/pde/events{/privacy}","received_events_url":"https://api.github.com/users/pde/received_events","type":"User","site_admin":false},"open_issues":167,"closed_issues":77,"state":"open","created_at":"2015-10-13T19:41:13Z","updated_at":"2018-02-13T18:50:17Z","due_on":"2016-12-30T08:00:00Z","closed_at":null},"comments":6,"created_at":"2016-10-27T13:48:11Z","updated_at":"2018-02-16T19:11:38Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"When the user invokes `certbot` with `-d`, the Common Name field is set to the first domain passed via that argument. `webroot-map`, which is essentially a combination of `-d` and `-w`, does not seem to follow this behavior and sets the Common Name to a (seemingly) random domain from the map. It would make sense for this to be consistent with `-d`, or at least to document this behaviour somewhere.\n\nSample `config.ini` to replicate:\n\n```\nwebroot-map = {\"example.com,1.example.com,2.example.com\":\"/var/www/html\", \"3.example.com\":\"/var/www/html\", \"4.example.com\":\"/var/www/html\"}\n```\n\nExpected CN: `example.com`\nActual CN: `4.example.com`\n\nOriginally reported [here](https://community.letsencrypt.org/t/set-default-cn-name-for-multiple-certificate/21625/5?u=pfg) (includes a workaround).\n"},"comment":{"url":"https://api.github.com/repos/certbot/certbot/issues/comments/366330833","html_url":"https://github.com/certbot/certbot/issues/3698#issuecomment-366330833","issue_url":"https://api.github.com/repos/certbot/certbot/issues/3698","id":366330833,"user":{"login":"kgoedecke","id":5519740,"avatar_url":"https://avatars1.githubusercontent.com/u/5519740?v=4","gravatar_id":"","url":"https://api.github.com/users/kgoedecke","html_url":"https://github.com/kgoedecke","followers_url":"https://api.github.com/users/kgoedecke/followers","following_url":"https://api.github.com/users/kgoedecke/following{/other_user}","gists_url":"https://api.github.com/users/kgoedecke/gists{/gist_id}","starred_url":"https://api.github.com/users/kgoedecke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kgoedecke/subscriptions","organizations_url":"https://api.github.com/users/kgoedecke/orgs","repos_url":"https://api.github.com/users/kgoedecke/repos","events_url":"https://api.github.com/users/kgoedecke/events{/privacy}","received_events_url":"https://api.github.com/users/kgoedecke/received_events","type":"User","site_admin":false},"created_at":"2018-02-16T19:11:38Z","updated_at":"2018-02-16T19:11:38Z","author_association":"NONE","body":"are there any updates on this?"}}
{"actor":{"display_login":"kgoedecke"}}