This module is designed for use with AFNIC registry - all extensions.
Start by downloading the latest version of FOSSBilling from the official website (https://fossbilling.org/). Follow the provided instructions to install it.
First, download this repository which contains the AFNIC.php file. After successfully downloading the repository, move the AFNIC.php file into the [FOSSBilling]/library/Registrar/Adapter
directory.
On lines 311 and 312 you will need to put a hardcoded contact ID for transfer requests. There is no way currently to pass it via FOSSBilling. Just replace the {{ admin }} and {{ tech }} with the chosen contact ID.
Within FOSSBilling, go to System -> Domain Registration -> New Domain Registrar and activate the new domain registrar.
Next, head to the "Registrars" tab. Here, you'll need to enter your specific configuration details, including the path to your SSL certificate and key.
Finally, add a new Top Level Domain (TLD) using your module from the "New Top Level Domain" tab. Make sure to configure all necessary details, such as pricing, within this tab.
If you experience problems connecting to your EPP server, follow these steps:
-
Ensure your server's IP (IPv4 and IPv6) is whitelisted by the EPP server.
-
Confirm your client and server support IPv6 if required. If needed, disable IPv6 support in EPP server.
-
Reload the EPP module or restart the web server after any changes.
-
Ensure certificates have the correct permissions:
chown www-data:www-data cert.pem
andchown www-data:www-data key.pem
. -
Verify the EPP module is configured with the chosen registrar prefix.