I know that SSL and TLS are almost just the same and are used as encryption protocols for encrypting the data that is travelling over the internet. But TLS and SSL provide encryption support for data related to some protocols only (FTP, HTTP etc) and not all.
But on the other hand we have IPsec that also encrypts the data totally. So I am wondering that can I solely use IPsec for my communication and don't use SSL and TLS as IPsec will totally encrypt the packet while TLS and SSL encrypts just a part of the packet and that too some specific packets.
Is this scenario possible and its it secure ?