Putting Artifactory behind SSL - artifactory

I manually installed Artifactory(V 2.6) on my centos and am using it with its own standalone jetty container. I use artifactoryctl start to start it and now I can access it using http://myhostname:8081/artifactory.
What is the best and easy way to put this behind https now?
Note: It will be nice if I can have both http and https access.
Any help is appreciated.
Thanks

Please upgrade to the latest Artifactory version.
Starting Artifactory 3, it comes with embedded Tomcat, please refer to the official Tomcat documentation on how to configure SSL on Tomcat.
Another option might be configuring Artifactory behind Apache or Ngnix HTTP servers. In this case, Artifactory user guide provides documentation on how to configure ssl for the former and for the later.

Related

Running Next.js in production on HTTPS

I cannot figure out how to set my next js project to run on HTTPS.
I am using Next 12.3 and deploying on AWS EC2. I have my SSL sertificates and all ports are open. What should I do to run it like that?
P.S.
All the answers that I've found are about running on HTTPS during the development.
Some people even claimed that it is not natively supported by Next. Is this true?
If you setup nginx, this becomes extremely easy.
You can handle the SSL part in nginx and run your NextJS server normally and you will have a server running on HTTPS.
See Configuring HTTPS servers for setting up Nginx.

Datapower web service proxy

I have created a WSDL file using IBM APP Connect ,and uploaded it on datapower to create a wsp however I am failing to test the same wsdl file using SOAPUI even though I redirected the endpoint to my http://ip:port/uri and put in the provided AAA credentials.
Please help, my datapower is running on docker so I am not sure if there are more configurations I still need to do before testing.
I have already created the WSP and used www.example.com as remote endpoint
find solution here on how to expose your docker ports to the local host.
https://www.ibm.com/mysupport/s/question/0D50z00006AB5M2/datapower-on-docker?language=en_US
Need more clarification on this issue. Please provide xsl code.

How to disable HTTP in artifactory

We have a requirement to use HTTPS and disable HTTP, currently we are using Artifactory OSS version 4.0.0 so redirecting http requests using reverse proxy is not feasible.
Any help would be much appreciated.
Thanks
Naresh.G
There are 2 options to achieve this:
Use an http reverse proxy such as NginX or Apache httpd in front of Artifactory. This can be done with any version of Artifactory including the OSS. Versions 4.3.1 and above includes a functionality which helps generating the reverse proxy configuration (please notice it does not configure the proxy but rather provide the required configuration).
Configure the Artifactory Tomcat with SSL/TLS support. The Tomcat documentation explains how to do that.
One thing to take into consideration is that you will get better performance using the first option

How to configure Shibboleth SP running on NGINX web server on CentOS 7?

I have the Metadata of IDP and already installed Shibboleth on a server system running on CentOS 7. The steps I followed from this link -
http://accc.uic.edu/answer/how-do-i-install-and-configure-shibboleth
which is very straight forward and good to follow. But it's for Apache web server.
The thing is, as per Shibboleth Website
https://wiki.shibboleth.net/confluence/display/SHIB2/NativeSPConfigurationElements
I can't find an official support docs for NGINX webserver. I've checked many repositories on github but kind of hard to understand about the steps of configuration.
https://github.com/nginx-shib/nginx-http-shibboleth
https://github.com/ConsortiumGARR/idem-tutorials/blob/master/idem-community/HOWTO-Shibboleth/Service-Provider/Debian/HOW%20TO%20SETUP%20A%20SHIBBOLETH%20SP%20WITH%20NGINX.md

Install SSL Certificate for ASP.Net Core Weblistener

Now that ASP.Net Core has been released I feel it's time to ask this question.
For my web application, I need to use a WebListener server due a business requirement for self-hosting and NTLM authentication for Windows IDs. The Weblistener server needs an SSL Certificate.
I have generated a SSL certificate and know that for Kestrel it is pulled up in the code of the web server (in Program.cs or Startup.cs). But what is the equivalent way to do that for Weblistener?
I found this post: How to Use HTTPS with Microsoft.AspNet.Server.WebListener but it was never truly answered. A couple hours of Googling didn't turn up anything either for me.
From what I can tell it is some kind of command like:
netsh http add sslcert
But I am in over my head in terms of what I need to do for Weblistener specifically. If possible, I'd love to pull in the certificate using code similar to Kestrel in the startup sequence (it's so convenient!), but I am pretty sure I need to install it with the command line.
Thank you very much in advance!
As davidfowl said, the article https://weblog.west-wind.com/posts/2013/sep/23/hosting-signalr-under-sslhttps does outline the process needed and explains it well. It mentions SignalR instead of WebListener but the procedure is the same.
Upon further research if you need to go without IIS (as you might if you are using WebListener because of a business requirement to not be allowed to install IIS) Powershell is a good way to generate self-signed certificates or you can use MMC to obtain a certificate as well.

Resources