Such corporations shall not invest in real estate mortgages, but may invest in other securities permitted by the general statutes for the investment of trust funds, and in such other securities alone.