Certificate Authorities in Wine

Using applications, configuring, problems
Post Reply
Message
Author
s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

Certificate Authorities in Wine

#1 Post by s243a »

I recently installed office2013pro on wine in fatdog64 using winetricks:

Code: Select all

$ su - spot
spot$ WINEPREFIX=~/.wine/Office2013 WINEARCH=win32 W_CACHE=/home/spot/.cache/winetricks winetricks
------------------
Requires:
Script to use "su" instead of "sudo"
http://www.murga-linux.com/puppy/viewtopic.php?t=117757
I think the recent version of fatdog64 now has a sudo emulation built-in, perhaps similar to what I did above. Anyway, I could not authenticate due to issues with https (aka ssl). Supposedly wine is suposed to get the ssl certificates from your system however, I'm not sure this is the case. Almost all the certificates in fatdog64 are .pem style. The types that you can import in wine are ".p7n, .pfx, .p12, .sst".

To import certificates on wine:
control panel -> Internet Settings -> content tab -> certificates button

and then select import.

To find out which cerificates you need open the website in google chrome (not in wine), and then click on the lock icon in the left of the address bar, select the details tab, and then look where it says "Certificate Hierarchy" For example on google.com you see that the root certificate is "GlobalSign.

Now find which certificate is GlobalSign as follows:

Code: Select all

# grep -irn /etc -e 'label' | grep .pem | grep -i "globalsign Root CA"
/etc/pki/anchors/5ad8a5d6.pem:2:label: "GlobalSign Root CA"
/etc/pki/anchors/5ad8a5d6.pem:18:label: "GlobalSign Root CA"
From this you can see the certificate file that I need is:
/etc/pki/anchors/5ad8a5d6.pem

Instructions to convert this certificate file to other formats can be found at:

https://stackoverflow.com/questions/165 ... e-in-linux
https://stackoverflow.com/questions/137 ... rt-and-key

For instance (from the second link):

Code: Select all

openssl x509 -outform der -in your-cert.pem -out your-cert.crt
So, I'll give this a try. Not sure which root CA I need to add for authenticating Microsoft office. Also I don't know if there is anywhere that I can legally buy an authentication key for office2013pro. Perhaps it's the same certificate authority that grants the certificate to microsoft.com.
Find me on [url=https://www.minds.com/ns_tidder]minds[/url] and on [url=https://www.pearltrees.com/s243a/puppy-linux/id12399810]pearltrees[/url].

Post Reply