Change permalinks structure without affect SEO

Hi, i want to change my permalinks to /%category%/%postname%/ and i also want to implement https for my blog. Can i do both in 1 shot?

What is the method to implement https and change permalinks without affect SEO?