I am trying to enable SSL on Apache Server (XAMPP) on Windows Server 2012 R2. I have a signed certificate from a Certificate Authority.
Following the installation instructions, I copied the private key, Server Certificate and Intermediate CA certificate properly to right directory and also made necessary certificates name path settings in httpd-ssl file.
Now when i am trying to start Apache through Xampp it is giving me following error:
Error: Apache shutdown unexpectedly.
12:42:29 This may be due to a blocked port, missing dependencies,
12:42:29 improper privileges, a crash, or a shutdown by another method.
12:42:29 Press the Logs button to view error logs and check
12:42:29 the Windows Event Viewer for more clues
12:42:29 If you need more help, copy and post this
12:42:29 entire log window on the forums
Finally error is resolved now. The Error is because of "SSLPassPhraseDialog builtin is not supported on Win32". I followed this link and got it working. "https://support.quovadisglobal.com/KB/a90/i-get-error-message-error-init-sslpassphrasedialog.aspx" Thanks again.
Related
I have been using WAMP for awhile now to create a database, and everything has been working fine. However, I am now helping with a new project and have been sent a new folder for this project. I placed it in my www folder within WAMP, and when I opened localhost/project_name I was prompted for a username and password. I did not know (and still do not) the username and password, so I tried a guess and now I get the following error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at wampserver#wampserver.invalid to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Apache/2.4.46 (Win64) PHP/7.3.21 Server at localhost Port 80
I have tried searching online and every solution focuses on the mod_rewrite line in the httpd.config file. However, I have already uncommented that line and WAMP continues to work for my original project. I have tried resetting WAMP and loading the new project, but I am never prompted for a username and password and only the above error appears. How can I fix this to be able to try a different username and password?
I am getting error while installing Microsoft Monitoring Agent.
Installation Error Screenshot
I look at the Monitoring agent log file available in %temp% file and it shows below Error.
Error: Failed to connect, exception : System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel.
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.MOMv3.Setup.MOMv3ManagedCAs.ValidateOpInsightsConnection(Session session)
I check communication and firewall all are ok but getting same error. I have referrer official document troubleshoot issues as well but didn't help much on this. Same Agent we are able to install on other systems and working fine. So our Workspace key and ID is working fine.
please help here to resolve this issue.
Above issue can be resolved by set up correct registry entry. If Hardening is applied and lower version of TLS is disabled then above issue will occur.
This is basically TLS handshake issue between target system and Azure Log Analytics.
To resolve, we have to Setup below Registry policy.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols\TLS 1.0\Client]
"Enabled"=dword:00000001
"DisabledByDefault"=dword:00000000
I have an issue with a windows server where an application pointing at a https end point fails with a:
javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure.
Actually it used to succeed but now it does not.
This is within an enterprise so the https is pointing to a private IP address.
What options do I have to investigate the handshake failure from the windows server?
openssl is not available on windows.
I have googled wireshark and Microsoft network Monitor.
Not sure I will get the go ahead to deploy either of these 2 options.
Any suggestions?
TIA
Tony
I'm about at the end of my rope with Windows Azure Tools and SSL configuration in the ServiceDefinition/ServiceConfiguration files in a cloud project.
At first, I had a web role with RDP enabled (and certificate configured, etc). All that worked for a long time. Then I added an SSL certificate for an https endpoint. It wouldn't deploy because of certificates not being installed in my localmachine/personal store, etc. After messing with it, somehow I've gotten into a bad state where even if I completely remove all configurations having to do with RDP or SSL, I still get this from the emulator:
Windows Azure Tools: Warning: The SSL certificate 'Microsoft.WindowsAzure.Plugins.RemoteAccess.PasswordEncryption' for endpoint 'HttpsIn' of role 'My.Web' was not found in the local machine's certificate store.
Windows Azure Tools: Warning: Certificate identification setting 'Microsoft.WindowsAzure.Plugins.RemoteAccess.PasswordEncryption' for role 'My.Worker' specified in the service configuration file is not declared in the service definition file in the Certificate or as part of an SSL endpont
Like I said, there is no such configuration in any of my files, and when there were, they hadn't changed from the time that they worked until this. I tried deleting the dftemp directory where the deployments get placed, I've cleaned and rebuilt the cloud project, I've killed visual studio and the emulator(s), and still always wind up back in the same place.
Has anyone else seen this?
I'm not sure what happened, but after leaving for the day and coming back this morning, I found that a system reboot seemed to clear the issue. I have no idea why, but this seems to have resolved itself.
for first error, you have to remove certificate from certificate section of your service configuration file(cscfg). This certificate is used for encrypting your RDP password.
For second error, I think if you remove above section, it will automatically disappear. Also ensure that you have removed modules RemoteAccess, RemoteForwarder from service definition file(csdef)
I've installed Web Deploy 2.1 on a Server 2008 R2 running under VMWare.
In the IIS Manager (Management Service applet) I can see that "Enable Remote Connections" is checked and the port is set to 8172. Under "IIS Manager Permissions" I've added my Windows account (CORP\ekkis) and under the "Authentication" applet (for IIS) I have enabled "Windows Authentication".
I've also turned off the firewall.
So from the command line I test the system to work like this:
C:\Program Files\IIS\Microsoft Web Deploy V2>msdeploy -verb:dump -source:contentPath=\temp,wmsvc=192.168.0.70,username=CORP\ekkis,password=MyPass,authType=Basic -allowUntrusted=True
and get this:
Info: Using ID '9b954a0f-ff07-4e77-ba2c-d27472f5fda0' for connections to the rem
ote server.
Error Code: ERROR_USER_UNAUTHORIZED
More Information: Connected to the destination computer ("192.168.0.70") using t
he Web Management Service, but could not authorize. Make sure that you are using
the correct user name and password, that the site you are connecting to exists,
and that the credentials represent a user who has permissions to access the sit
e.
Error: Object of type 'contentPath' and path '\temp' cannot be created.
Error: The remote server returned an error: (401) Unauthorized.
Error count: 1.
I've also tried deploying with Visual Studio 2010 from the host OS with the following service urls (I haven't found proper documentation on how to form this url):
https://192.168.0.70/
https://192.168.0.70:8172/
https://192.168.0.70:8172/MsDeployAgentService/
https://192.168.0.70/MsDeployAgentService/
I've tried the non-secure versions as well but just cannot get it to work. What is the correct format for the url? and what permissions am I missing?
the errors from VS have varied depending on how I attempt it but below is a sample:
Could not complete the request to remote agent URL 'http://192.168.0.70:8172//MSDEPLOYAGENTSERVICE'.
The underlying connection was closed: An unexpected error occurred on a receive.
Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.
An existing connection was forcibly closed by the remote host
Publish failed to deploy.
there really should be a guide out there to do this (yes, I've googled myself blue in the face)!
thanks - ekkis
ok, I've figured out that the correct url is:
https://192.168.0.70:8172/MsDeploy.axd
and that having the "Windows Authentication" enabled doesn't seem to make a difference. Also, having my account in the "Managers" list doesn't seem to make a difference either.
so the back end was all working fine (I've turned off the Web Deployment Agent Service). it was just the url I had wrong.