Use ssl_certificate cookbook instead of x509 cookbook.