You can use self-signed certificates, but the problem is that you need to install a certificate on each machine that will use the certificate for encryption.
If you have a large number of machines on which clients will work, this can easily become prohibitive in terms of service and configuration, and this easily justifies the purchase of a certificate from an authority.
source
share