Loading

×Sorry to interrupt
CSS Error

Refresh

Cookie Preference Center

General Information on cookies

When you visit our website, we use cookies to ensure that we give you the best experience. This information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies by clicking on the different category headings to find out more and change your settings. However, blocking some types of cookies may impact your experience on the site and the services we are able to offer. Further information can be found in our

Cookie Policy.

Strictly Necessary

Strictly Necessary

Always Active

Strictly Necessary

Strictly necessary cookies are always enabled since they are essential for our website to function. They enable core functionality such as security, network management, and website accessibility. You can set your browser to block or alert you about these cookies, but this may affect how the website functions. For more information please visit www.aboutcookies.org or www.allaboutcookies.org.

Cookie Details‎

Performance

Performance

Performance

Performance cookies are used to analyze the user experience to improve our website by collecting and reporting information on how you use it. They allow us to know which pages are the most and least popular, see how visitors move around the site, optimize our website and make it easier to navigate.

Cookie Details‎

Please confirm your settings by refreshing the page.

Functional

Functional

Functional

Functional cookies help us keep track of your past browsing choices so we can improve usability and customize your experience. These cookies enable the website to remember your preferred settings, language preferences, location and other customizable elements such as font or text size. If you do not allow these cookies, then some or all of these services may not function properly.

Cookie Details‎

Advertising

Advertising

Advertising

Advertising cookies are used to send you relevant advertising and promotional information. They may be set through our site by third parties to build a profile of your interests and show you relevant advertisements on other sites. These cookies do not directly store personal information, but their function is based on uniquely identifying your browser and internet device.

Cookie Details‎

Advertising Cookies

Consent Leg.Interest

Select All Vendors

Select All Vendors

Select All Hosts

Select All

Clear Filters

Information storage and access

Apply

Confirm My Choices Reject All Allow All

My Subscriptions

Loading

Knowledge Base

Accessing a vCenter Server using Web access or vSphere Client fails with an SSL certificate error (1021514)

Last Updated: 3/20/2024Categories: Total Views: 43550Language:
Chinese (Simplified)JapaneseEnglish

Subscribe to get an email
newsletter with new updates

Please provide article feedback:

Symptoms

Accessing vCenter Server using Web access or vSphere Client fails

You see the error:

Security Warning
Certificate Warnings
An untrusted SSL certificate is installed on "vCenter_FQDN" and secure communication cannot be guaranteed. Depending on your security policy, this issue might not represent a security concern. You may need to install a trusted SSL certificate on your server to prevent this warning from appearing.
Click Ignore to continue using the current SSL certificate.

Resolution

This issue occurs if the self-signed certificate of the vCenter Server is not trusted or the FQDN or shortname of the vCenter Server changed after the initial installation.

To resolve this issue, you must create a self-signed certificate for your vCenter Server.

Note: If you are using custom or CA signed certificates, see Replacing vCenter Server Certificates.

To create a self-signed certificate:

Download and install OpenSSL from http://gnuwin32.sourceforge.net/packages/openssl.htm.

Note: The preceding link was correct as of June 02, 2010. If you find the link is broken, provide feedback and a VMware employee will update the link.

Create a folder named openssl in C:\

Open command prompt and navigate to C:\Program Files\GnuWin32\bin.

Note: You may need to run the command prompt as administrator in order for the below commands to work.

Run these commands to create the SSL certificates:

openssl genrsa 1024 > c:\openssl\rui.key

openssl req -new -key c:\openssl\rui.key > c:\openssl\rui.csr -config "C:\Program Files\GnuWin32\share\openssl.cnf"

Note: Provide necessary information about the certificate, such as country, organization, name, and email ID and provide the FQDN or Netbios name in the Common Name field of the vCenter Server. You do not have to specify a passkey in this step.

openssl x509 -req -days 730 -in c:\openssl\rui.csr -signkey c:\openssl\rui.key -out c:\openssl\rui.crt

openssl pkcs12 -export -in c:\openssl\rui.crt -inkey c:\openssl\rui.key -passout pass:testpassword -out c:\openssl\rui.pfx

To replace the certificates on vCenter Server:

Copy the existing rui.key, rui.crt, and rui.pfx files from C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\SSL\ to a backup folder.

Copy the custom rui.key, rui.crt, and rui.pfx files to C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\SSL\.

Note: In Windows Server 2008, copy the files to C:\ProgramData\VMware\VMware VirtualCenter\SSL\.

Stop the VirtualCenter Server service. For more information, see Stopping, starting, or restarting vCenter services (1003895).

To reset your database password, browse to the root directory of your vCenter Server installation, and run the command:

vpxd.exe –p

When prompted for your new password, enter your existing database password. When prompted to confirm your password, reenter the password.

Restart the VirtualCenter Server service. For more information, see Stopping, starting, or restarting vCenter services (1003895).

To install the certificate into the trusted root CAs on the vCenter Server:

Double-click the rui.crt file located at C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\SSL\.

Click Install Certificate and click Next and Next.

Select Place all certificates in the following store.

Select the Trusted Root Certification Authorities certificate store.

Click OK, Next, Finish, and Yes.

Log in to vCenter Server using your new certificate.

If your ESX hosts are showing as disconnected, right-click on the host, follow the prompts, and connect the host using the root credentials.

Related Information

Web アクセスまたは vSphere Client を使用して vCenter Server にアクセスすると SSL 証明書エラーで失敗する
使用 Web Access 或 vSphere Client 访问 vCenter Server 失败，并显示 SSL 证书错误

Detectable by VMware SkylineTM

Actions

Copy

link to clipboard
copied!

Print

Language:
Chinese (Simplified)JapaneseEnglish

Attachments

Internal Replacing_default_certific0.zip

Additional Resources

KB
•
End Of General Availability of the Free vSphere Hypervisor (ESXi 7.x and 8.x) (2107518)

KB
•
Download and Install VMware Fusion (2014097)

Results 1-2 of 2

Ask The Community

Get answers quickly from VMware experts in the community

Post Subject

CONTINUE IN COMMUNITIES

Related Products:

VMware vCenter Server

Related Versions:

VMware vCenter Server 4.0.x

Take Our Survey

Support Assistant