- Newest
- Most votes
- Most comments
The issue you're experiencing is related to how AWS verifies control over the IP address range you're trying to bring into EC2 using BYOIP (Bring Your Own IP).
When you use BYOIP with AWS, one of the methods to verify control of the IP address range is through an X.509 self-signed certificate. This certificate should be included in the RDAP (Registry Data Access Protocol) record for your IP range.
The error message "No X509 certificate could be found in the Whois remarks" suggests that AWS is unable to find the required X.509 certificate in the RDAP record when querying the Regional Internet Registry (RIR) database.
The fact that you can see the certificate when using the command whois -h whois.arin.net r + ipblock indicates that the certificate is present in ARIN's (American Registry for Internet Numbers) database. However, AWS may be using a different method or source to query this information, which is not returning the certificate.
To resolve this issue, you should:
- Ensure that the X.509 self-signed certificate is properly added to the RDAP record for your IP range.
- Verify that the certificate is visible in the public RDAP query results, not just in ARIN's specific query.
- Double-check that the certificate meets AWS's requirements for BYOIP verification.
- If the issue persists, you may need to contact AWS support for further assistance, as there might be a discrepancy between what's visible in ARIN's database and what AWS can access through its verification process.
Remember that changes to RDAP records may take some time to propagate, so you might need to wait a while after making any updates before trying the BYOIP process again.
Sources
Bring your own IP addresses (BYOIP) to Amazon EC2 - Amazon Elastic Compute Cloud
ByoipCidr - Amazon Elastic Compute Cloud
Relevant content
- asked 2 years ago
- asked 4 years ago
