|
1 |
| -# fossbilling-epp-verisign |
2 |
| -EPP Registrar Module for FOSSBilling (VeriSign) |
| 1 | +# Compatibility |
| 2 | + |
| 3 | +This module supports **all gTLDs** that use the VeriSign platform. |
| 4 | + |
| 5 | +# FOSSBilling Module Installation instructions |
| 6 | + |
| 7 | +## 1. Download and Install FOSSBilling: |
| 8 | + |
| 9 | +Start by downloading the latest version of FOSSBilling from the official website (https://fossbilling.org/). Then follow the instructions below to install the module, or run for automated installation: |
| 10 | + |
| 11 | +```bash |
| 12 | +wget https://raw.githubusercontent.com/getnamingo/fossbilling-epp-verisign/main/install_verisign_module.sh -O install_verisign_module.sh && chmod +x install_verisign_module.sh && ./install_verisign_module.sh |
| 13 | +``` |
| 14 | + |
| 15 | +## 2. Installation and Configuration of Registrar Adapter: |
| 16 | + |
| 17 | +First, download this repository which contains the VeriSign.php file. After successfully downloading the repository, move the VeriSign.php file into the `[FOSSBilling]/library/Registrar/Adapter` directory. |
| 18 | + |
| 19 | +## 3. Addition of Synchronization Script: |
| 20 | + |
| 21 | +There is one additional script in the repository: **VeriSignSync.php**. It needs to be placed in the main `[FOSSBilling]` directory. |
| 22 | + |
| 23 | +## 4. Setting Up the Cron Job: |
| 24 | + |
| 25 | +You need to set up a cron job that runs the sync module twice a day. Open crontab using the command `crontab -e` in your terminal. |
| 26 | + |
| 27 | +Add the following cron job: |
| 28 | + |
| 29 | +`0 0,12 * * * php /var/www/html/VeriSignSync.php` |
| 30 | + |
| 31 | +This command schedules the synchronization script to run once every 12 hours (at midnight and noon). |
| 32 | + |
| 33 | +## 5. Activate the Domain Registrar Module: |
| 34 | + |
| 35 | +Within FOSSBilling, go to **System -> Domain Registration -> New Domain Registrar** and activate the new domain registrar. |
| 36 | + |
| 37 | +## 6. Registrar Configuration: |
| 38 | + |
| 39 | +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. |
| 40 | + |
| 41 | +## 7. Adding a New TLD: |
| 42 | + |
| 43 | +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. |
| 44 | + |
| 45 | +# Troubleshooting |
| 46 | + |
| 47 | +If you experience problems connecting to your EPP server, follow these steps: |
| 48 | + |
| 49 | +1. Ensure your server's IP (IPv4 and IPv6) is whitelisted by the EPP server. |
| 50 | + |
| 51 | +2. Confirm your client and server support IPv6 if required. If needed, disable IPv6 support in EPP server. |
| 52 | + |
| 53 | +3. Reload the EPP module or restart the web server after any changes. |
| 54 | + |
| 55 | +4. Ensure certificates have the correct permissions: `chown www-data:www-data cert.pem` and `chown www-data:www-data key.pem`. |
| 56 | + |
| 57 | +5. Verify the EPP module is configured with the chosen registrar prefix. |
0 commit comments