- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- Manually copy PEM certificate to C:\hp\hpsmh\certs...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2013 04:32 AM
03-22-2013 04:32 AM
Manually copy PEM certificate to C:\hp\hpsmh\certs and it disappears when I restart the SMH service
I am trying to add a PEM certificate to the SMH for our SIM Server in a script.
In the past I always copied the PEM file into C:\hp\hpsmh\certs and restarted the SMH service and the certificate would appear in the Trusted Management Servers section of the SMH settings.
I am using the Proliantr Service Pack 2012.10.0 and when I copy the PEM file into the certs folder on a Windows 2008 R2 server is is removed when I restart the SMH service.
Has anything changed? Does anyone else have this issue?
Is there a supported way to add a Trusted Management Server via a script to SMH?
thanks
Tony
- Tags:
- certificate
- SMH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2013 08:39 AM - edited 03-25-2013 08:44 AM
03-25-2013 08:39 AM - edited 03-25-2013 08:44 AM
Re: Manually copy PEM certificate to C:\hp\hpsmh\certs and it disappears when I restart the SMH serv
Are you renaming the destination file ?
Here's a simple script i use to copy the cert.
The script also restarts the service on the sim server. (optional)
##Variables
$name = $env:computername
$source = "c:\hp\sslshare\cert.pem"
$destination = "\\servername.server.com\c$\hp\hpsmh\certs\$name.pem"
#Commands
copy-item $source $destination
$session = New-PSSession-ComputerNameservername.server.com -credential $cred
Invoke-Command -session $session {Restart-Service ysMgmtHp}