# An authentication script must be provided with --manual-auth-hook

**URL:** <https://community.letsencrypt.org/t/an-authentication-script-must-be-provided-with-manual-auth-hook/74301>\
**Category:** Help\
**Created:** [October 9, 2018, 9:27am UTC](https://community.letsencrypt.org/t/an-authentication-script-must-be-provided-with-manual-auth-hook/74301 "2018-10-09T09:27:02Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![JuergenAuer](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/juergenauer/32/26491_2.png) [@JuergenAuer](https://community.letsencrypt.org/u/JuergenAuer)\
**Post date:** [October 9, 2018, 9:34am UTC](https://community.letsencrypt.org/t/an-authentication-script-must-be-provided-with-manual-auth-hook/74301/2 "2018-10-09T09:34:27Z")

</div>

Hi @danyal14

> [@danyal14](#):
>
> I ran this command: sudo certbot renew --manual

`renew` is a non-interactive command. So you can't use `--manual`.

So use

```nohighlight
certbot certonly --server https://acme-v02.api.letsencrypt.org/directory --manual --preferred-challenges dns -d 'relationmonitor.dk,*.relationmonitor.dk'

```

But you want a wildcard certificate, so you must use dns and the v02 -\> so this command

```nohighlight
certbot certonly --manual -d 'relationmonitor.dk,*.relationmonitor.dk'

```

should do the same.

---

_[View the full topic](https://community.letsencrypt.org/t/an-authentication-script-must-be-provided-with-manual-auth-hook/74301)._
