# Cerbot failing when installing Python packages

**URL:** <https://community.letsencrypt.org/t/cerbot-failing-when-installing-python-packages/22722>\
**Category:** Server\
**Created:** [November 16, 2016, 2:04pm UTC](https://community.letsencrypt.org/t/cerbot-failing-when-installing-python-packages/22722 "2016-11-16T14:04:41Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![serverco](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/serverco/32/4251_2.png) [@serverco](https://community.letsencrypt.org/u/serverco)\
**Post date:** [November 18, 2016, 4:09pm UTC](https://community.letsencrypt.org/t/cerbot-failing-when-installing-python-packages/22722/6 "2016-11-18T16:09:32Z")

</div>

> [@FRG](#):
>
> To get a test cert, I only need to add the account email on the account level .cfg file. Then, the subdomain the server is using on the "SANS" setting on the domain .cfg file, the full path to the cert/key files on the domain .cfg file too, the port number on the "SERVER\_TYPE" setting (because it's an https server on a non standard port) and uncomment the "VALIDATE\_VIA\_DNS="true"" setting on the domain .cfg file. It seems ok, isn't it?

close. You created the default config file for the domain you want a cert for I assume ( getssl -c [domain.com](http://domain.com)). unless you have any additional domain names you want on the same cert then you don't need to add anything to SANS.

Yes, if you're listening on a non-standard port for http - then you will need to use the DNS challenge.

You will need to uncomment the VALIDATE\_VIA\_DNS="true" but it's also expecting the DNS\_ADD\_COMMAND= and DNS\_DEL\_COMMAND= to be set ( for automation ). The easiest is to download and install somewhere the short script files [https://github.com/srvrco/getssl/blob/master/dns\_scripts/dns\_add\_manual](https://github.com/srvrco/getssl/blob/master/dns_scripts/dns_add_manual) abd [https://github.com/srvrco/getssl/blob/master/dns\_scripts/dns\_del\_manual](https://github.com/srvrco/getssl/blob/master/dns_scripts/dns_del_manual) which you can then link to in the config. They simply print out on the screen what you need to do - then once done, and working, just press return to continue the process.

---

_[View the full topic](https://community.letsencrypt.org/t/cerbot-failing-when-installing-python-packages/22722)._
