See micronaut-projects/micronaut-acme#154 and specifically the comment that says a future version of micronaut-acme will have the Graal native-image config built-in: micronaut-projects/micronaut-acme#154 (comment)
When that version is released we can remove these two work-arounds: