Re:section 'TCB_uRAM' error
0x132 is larger than a full size 256 byte RAM bank, so you need to modify your linker script to make this fit. However, since it compiles successfully when you disable SSL, you most likely already have modified your linker script.
In this case, can not fit the section most likely means you are out of RAM. SSL requires a lot of RAM for encryption S-boxes and state variables. You'll have to upgrade to a PIC24 with 8KB or more of RAM. PIC32's would work too.
There are some changes you can possibly do to make more RAM available on your PIC18. You could, for example, switch to the Extended Instruction set, which will cause local variables and function parameters to get placed on a dynamic C parameter stack instead of a fixed overlay memory addresses. This will conserve some RAM, although unless your application is 100% complete less SSL, trying to squeeze things to make it fit is no substitute for actually having more RAM.