how to set up a standalone yubikey otp validation server in windows? - windows

I want to set up a standalone yubikey otp validation server in windows.Can anyone please help me with the steps I can follow in windows.
Thanks.

I have just written a standalone validation server in Python with Django. I did not test it on Windows, but given the dependencies it requires, there shouldn't be any problem.

The official YubiKey Validation Server (YK-VAL) installation steps apply to any GNU/Linux-like system and Ubuntu 14.04 LTS is recommended. A Windows setup guide is not available.
Instead of setting up your own validation server, you could use Yubico's YubiCloud web service for verifying OTPs.
Additionally, if you are looking for an OATH certified TOTP and/or HOTP validation server you can find a list on the OATH site.
Edit:
There is a guide for Self-hosted OTP validation available. But again, the guide uses Ubuntu as a platform, not windows.

Related

SSL/TLS Handshake error while calling Azure Vision API

I have a spring boot based microservice in which I am using Microsoft Azure Computer Vision API to read data from a PDF file. After containerizing the microservice, the container works fine and I am able to send/receive data to/from Computer Vision API on my machine. But, when I run this container on an Azure based Linux Virtual Machine, the container cannot communicate with the Computer Vision API and throws exception java.lang.RuntimeException: javax.net.ssl.SSLKeyException: RSA premaster secret error. Also, the spring-boot jar is able to communicate with Azure on VM and throws no such exception.
Do you think I need to pass any self-signed certificate to the container for it to be able to communicate smoothly?
I think the biggest advantage of using these containers is that it makes the code platform independent. So, why is this error thrown only on Azure VM and runs completely fine on my machine? Please advise.
java.lang.RuntimeException: javax.net.ssl.SSLKeyException: RSA premaster secret error
On local computer was working fine but when run the container on Azure Linux VM it is not working so there might be compatibility issue between Linux VM and Java JRE’s.
Based on above error the solution is Just remove the updated java version from your server Classpath and try to install the old java version
Please refer this link had the same discussion over here related to above error : https://community.oracle.com/tech/developers/discussion/1533888/another-rsa-premaster-secret-error
Second, try to set the SSL/TLS parameters in the java panel because An SSL certificate is a bit of code on your web server that provides security for online communications. When a web browser contacts your secured website, the SSL certificate enables an encrypted connection. It's kind of like sealing a letter in an envelope before sending it through the mail.
Supported SSL/TLS versions by JDK version
I was able to find out what the error was. There was nothing wrong with the JDK/JRE setup. The issue arose due to the version of docker engine installed on the Azure VM.
Azure based computer vision APIs required server to be TLS1.2 compliant, whereas the version of the docker engine installed on my machine was older and did not support TLS1.2. I was able to fix it after upgrading the docker engine to the latest version.

Can't install Apache web agent for OpenAM implementation

I have previously installed a J2EE policy agent and implemented SSO with it. Now I was trying to do the same with a web policy agent, but I am stuck. When I am trying to install the Apache22 web agent, I am being asked to provide some inputs. The second input is the URL of the OpenAM server. In my case, that is http://openam.example.com:9080/openIdp2 . But whenever I enter this value, the installation gets stuck. I have taken the following steps:
I have ensured that the openAM server is up and running.
I have created a centralized web agent in the openAM server.
I have installed OpenSSL and included the libeay32.dll, ssleay32.dll files in the agent/lib folder( I don’t have the ‘dll files missing’ error)
I have added the agent/lib folder in the environment variable path.
I have done all this and yet I am getting nowhere. I had used these same steps when I had configured the J2EE agent earlier. The OpenAM server is deployed in Tomcat on my local machine.
This is the configuration I am using:
Http server: Apache 2.2
Web Policy Agent:
i)Release: 4.0.0
ii)Platform: Apache 2.2
OS: Windows 10 64 bit
When I tried installing using the ‘silent’ option, I was asked to provide all the input. I did that and now the console is just stuck with the ‘Validating…’ message. It has been in that way for some time. The installation doesn’t stop, it just freezes.
Can you tell me what I might be doing wrong?
Can anyone help me out?
I had a similar issue a while back and was advised to step-back to the 3.3.4 Agent. Since there were no features I needed in 4.0 that were not in 3.3 I did and have not looked back. Also, consider that the latest agent available is 4.0.1. So either go back to 3.3.4 or consider trying 4.0.1.

Xcode Bots not sending email on success/failure

I setup Xcode Bots, which is working successfully. However, despite setting email addresses to get notified when a build is successful or it fails, I do not receive any emails. Is there any additional SMTP setup I need to do hidden somewhere?
You probably need to configure the Mac OSX Server for sending e-mail.
The local server is located in the Server application under "Mail" in the left sidebar.
I recently changed to using Amazon SES and had to edit the Postfix SASL configuration manually. Edit SASL password file, run postmap, enable SASL/TLS in main.cf configuration file and finally restart Postfix.
This detailed description by Rojas helped me:
http://benjaminrojas.net/configuring-postfix-to-send-mail-from-mac-os-x-mountain-lion/
I recently was tasked with doing the same thing, setting up OSX Server for sending e-mail. What worked for me was setting up the postfix configuration manually as well but the link in the previous answer wasn't effective for me. what was effective was following this tutorial
http://blog.anupamsg.me/2012/02/14/enabling-postfix-for-outbound-relay-via-gmail-on-os-x-lion-11/
and there's also a follow up that shows details to what needs to change to get it to work on Mavericks and newer http://blog.anupamsg.me/2013/12/22/enabling-postfix-on-osx-as-a-relay-revisited/

Email Server for Bugzilla on Windows

I have Bugzilla 4.0 installed on my Windows machine but I haven't been able to get an email server to work. Does anyone know what the easiest way is to get the email server work?
I found NTsendmail and I have that in my perl/lib directory but I'm not entirely sure how to configure bugzilla to use it.
Is there someway I could use the gmail smtp server?
Cheers,
Steiny
Starting with Bugzilla 4.4, Gmail SMTP is supported natively, but a patch can be applied for Bugzilla 4.2 or previous versions.
https://wiki.mozilla.org/Bugzilla:Windows_Gmail
Personally, I am very happy with hMailServer on Windows. I'm using it on all of our public web servers to send out e-mails from my ASP.NET applications.

Using Subversion via IntelliJ IDEA With NTLM

Does anyone know how I can automatically use the current NTLM credentials in IDEA when working with Subversion?
I have IDEA 9.0.4 and get "Not logged In to Subversion '[AD Realm]' (http://[Branch])". (replace [information] with actual technical details) when I try to update/commit/etc.
Try setting the following system property -Dsvnkit.http.ntlm=jna - it will make SVNKit use native Windows API through JNA to support JNA. Native implementation may work better for you. Both pure Java and JNA-based implementations of NTLM support in SVNKit however unfortunately does not work well in some environments.
It should work automatically. If you are asked for the password, then the server doesn't accept NTLM auth from SvnKit library for some reason and authentication falls back to different method.

Resources