Add Actalis support (fixes #173)

This commit is contained in:
Richard Körber
2025-08-13 20:48:16 +02:00
parent 2a5df329bd
commit 2ca2f4b264
11 changed files with 217 additions and 4 deletions

View File

@@ -37,6 +37,19 @@ import org.shredzone.acme4j.exception.AcmeException;
*/
public class ProviderIT {
/**
* Test Actalis
*/
@Test
public void testActalis() throws AcmeException, MalformedURLException {
var session = new Session("acme://actalis.com");
assertThat(session.getMetadata().getWebsite()).hasValue(URI.create("https://www.actalis.com").toURL());
assertThatNoException().isThrownBy(() -> session.resourceUrl(Resource.NEW_ACCOUNT));
assertThat(session.getMetadata().isExternalAccountRequired()).isTrue();
assertThat(session.getMetadata().isAutoRenewalEnabled()).isFalse();
assertThat(session.resourceUrlOptional(Resource.RENEWAL_INFO)).isNotEmpty();
}
/**
* Test Buypass
*/