XenServer re-generates self-signed documents

Source: Internet
Author: User

XenServer re-generates self-signed documents

Due to time zone settings and other problems, the time of XenServer or other newly created servers may be advanced to another date, and the self-Signed server certificate will take effect in the future, as a result, the test cannot be performed now, and the certificate can only be issued again.

There are two components used in the XenServer certificate:
Xapissl: all external sdks and management tools must communicate with XS through this component.
Cimserver: This is the SCVMM Intergrate Suit component. SCVMM needs to communicate with XS through this component.

Therefore, we only need to regenerate the certificate and restart the two components.

Echo "Stopping services"
/Opt/openpegasus/bin/cimserver-s
/Etc/init. d/xapissl stop
Echo "Backup cert"
Cert = "/etc/xensource/xapi-ssl.pem"
Cert_backup = "$ {cert}. 'date-u + % Y % m % dT % TZ '"
Mv-f "$ {cert}" "$ {cert_backup }"
Echo "Regenerate self signed certificate"
/Opt/xensource/libexec/generate_ssl_cert "$ {cert}" 'hostname-F'
Echo "Starting services"
/Opt/opengegasus/bin/cimserver
/Etc/init. d/xapissl start

This article permanently updates the link address:

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.