Only create cert entries if not nil