Projects
openEuler:20.03:LTS:SP3
openwsman
_service:tar_scm_kernel_repo:owsmantestcert.sh
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm_kernel_repo:owsmantestcert.sh of Package openwsman
#!/bin/bash if [ ! -f "/etc/openwsman/serverkey.pem" ]; then if [ -f "/etc/ssl/servercerts/servercert.pem" \ -a -f "/etc/ssl/servercerts/serverkey.pem" ]; then echo "Using common server certificate /etc/ssl/servercerts/servercert.pem" ln -s /etc/ssl/servercerts/server{cert,key}.pem /etc/openwsman exit 0 else echo "FAILED: Starting openwsman server" echo "There is no ssl server key available for openwsman server to use." echo -e "Please generate one with the following script and start the openwsman service again:\n" echo "##################################" echo "/etc/openwsman/owsmangencert.sh" echo "=================================" echo "NOTE: The script uses /dev/random device for generating some random bits while generating the server key." echo " If this takes too long, you can replace the value of \"RANDFILE\" in /etc/openwsman/ssleay.cnf with /dev/urandom. Please understand the implications of replacing the RNADFILE." exit 1 fi fi
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.