implemented self signate certificate generation for apache configuration