Configurable certificate generation