I have cpanel servers and i always use the server ip not a domain name to use cpanel or whm and i always have use ssl option on in settings so i always get a warning from https:// as no ssl can i just buy a ssl cert like i would for a domainname and add ip instead of domain in generate ssl part of whm.
Yes, it has to be a common name like domain name. You will have to purchase SSL certificate for your main domain name OR hostname of your server.
██ BestServerSupport | Outsourced Hosting Support and Server Management Service Provider
██ WHM/CPanel | HyperV Virtualization | Plesk | WebsitePanel | Windows VPS | OnAPP Cloud | Virtuzoo
██ Helpdesk Support | Cloud Administration | Dedicated Support | VPS Support