server: define options
server: implement to read certificate